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

Mike Packard mpackard at oci.unizh.ch
Fri Aug 11 16:02:59 BST 2006


So is there any way to increase this either permanently on the nodes or during a
job?

mike


On Fri, Aug 11, 2006 at 10:29:26AM -0400, Sean Dilda wrote:
> 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

---------------------------------------------------------------------
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