No subject


Wed Jan 12 20:38:46 GMT 2011


open files                    (-n) 10000

So at least during interactive sessions it is respecting the settings in
limits.conf.

* hard nofile 10000

mike




On Fri, Aug 11, 2006 at 03:55:14PM +0200, Reuti wrote:
> Hi,
> 
> Am 11.08.2006 um 15:29 schrieb Mike Packard:
> 
> >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,
> >mike
> >
> >---
> >
> >Setting the limit works in an interactive job:
> >
> >$ qrsh -q 01.q
> >...
> >$ ulimit -n 10000
> >$ ulimit -n
> >10000
> >
> >---
> >
> >But then I submit a batch job:
> >
> >$ cat testjob
> >#!/bin/bash
> >#$ -cwd
> >#$ -j y
> >#$ -S /bin/bash
> >#$ -q 01.q
> >ulimit -n 10000
> 
> this maybe higher than the allowed hard limit. Can you check with:
> 
> ulimit -aH
> 
> -- Reuti
> 
> >ulimit -n
> >
> >Output:
> >
> >$ cat testjob.o1728
> >/opt/gridengine/default/spool/ocikbsr01/job_scripts/1728: line 6:  
> >ulimit: open files: cannot modify limit: Operation not permitted
> >1024
> >
> >
> >---------------------------------------------------------------------
> >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

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