[GE users] can't set ulimit during batch jobs

Sean Dilda sean at duke.edu
Fri Aug 11 15:29:26 BST 2006

    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

Mike Packard wrote:
>> this maybe higher than the allowed hard limit. Can you check with:
>> ulimit -aH
> From within a batch job:
> open files                    (-n) 1024
> From an interactive job or regular login:
> open files                    (-n) 10000
> So at least during interactive sessions it is respecting the settings in
> limits.conf.
> * hard nofile 10000

When you use 'qrsh' it actually logs you in through ssh/rsh, which goes 
through the pam stack and thus pam_limits, which is what reads 
limits.conf.   When you submit a batch job, the sge_execd starts the job 
directly, so it never goes through the pam stack and thus limits.conf is 
never processed.

To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net

More information about the gridengine-users mailing list