[GE issues] [Issue 2916] qrsh large memory consumption in IA64

jlopez jlopez at cesga.es
Tue Mar 17 10:38:38 GMT 2009


------- Additional comments from jlopez at sunsource.net Tue Mar 17 03:38:37 -0700 2009 -------
I think we  have found the reason of the large memory consumption of qrsh using 
builtin method in IA64. It is all due to the fact that we are using a 
stack limit of 256MB.

These are the facts conclusions that I think could be helpful to others 
experiencing similar problems:
- qrsh uses threads: 3 in general and 4 if it has to expand the builtin 
shell (this can be avoided using the -noshell option). Bash is not 
recognised as a supported shell so if the rsh wrapper is written using 
bash qrsh would expand the builtin shell unless the -noshell option is 
- Memory consumption is about two times the value of stack limit 
established in the system (ulimit -s). In case the stack is unlimited it 
seems that a reference value of 32MB is used in IA64.
- Optimum memory consumption is obtained with a stack value of 1MB 
(ulimit -s 1024). In this case qrsh consumes 4MB if no builtin shell is 
expanded or 10MB if the shell is expanded.

The final conclusion is that the best alternative in IA64 is to set the 
stack limit to 1024 and write the rsh wrapper using sh.


To unsubscribe from this discussion, e-mail: [issues-unsubscribe at gridengine.sunsource.net].

More information about the gridengine-users mailing list