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

Mike Packard mpackard at oci.unizh.ch
Fri Aug 11 14:29:37 BST 2006

Good Afternoon,

I am using x86 SLES9 + 6.0u7.  My problem is that I am unable to set ulimits on
the exec nodes during a batch job.  I am able to interactively login to the
machine and set ulimit -n 10000, so I know I have permission there, but if I try
this in a batch script I get the old "cannot modify limit: Operation not
permitted".  I included some samples below.  This is all happening on one node.  

Thanks for any help you can offer,


Setting the limit works in an interactive job:

$ qrsh -q 01.q
$ ulimit -n 10000
$ ulimit -n 


But then I submit a batch job:

$ cat testjob
#$ -cwd
#$ -j y
#$ -S /bin/bash
#$ -q 01.q
ulimit -n 10000
ulimit -n


$ cat testjob.o1728
/opt/gridengine/default/spool/ocikbsr01/job_scripts/1728: line 6: ulimit: open files: cannot modify limit: Operation not permitted

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