[GE users] Default stack size

Ron Chen ron_chen_123 at yahoo.com
Tue Mar 8 00:29:49 GMT 2005


Right, the hard limit cannot be overriden by the user
with a larger value.

But how about with the soft limit? Did you try to
leave the hard limit as INFINITY and set the soft
limit to something you want?

 -Ron

--- Thiep Duong <tduong at necelam.com> wrote:
> Hi Ron,
> 
> I did similar thng in the past, setting
> h_stack size from INFINITY to somethign else.
> problem is that once you do that, user cannot change
> the default stacksize to something else.  When they
> do that with command "limit stacksize 8194" they
> will
> get an error.  Ex:
> 
> qconf -mq optlinux1.q
> change
> h_stack              1024
> 
> optlinux1{duong}75: limit
> cputime         unlimited
> filesize        unlimited
> datasize        unlimited
> stacksize       1024 kbytes
> coredumpsize    0 kbytes
> memoryuse       unlimited
> vmemoryuse      unlimited
> descriptors     1024
> memorylocked    4 kbytes
> maxproc         131072
> optlinux1{duong}76: limit stacksize 8194
> limit: stacksize: Can't set limit
> 
> You got to leave it INFINITY and have user to add
> the
> limit stacksize 1024 or whatever set in the script
> or individual environment.
> 
> Thiep
> 
> Thiep
> 
> 
> 
> Ron Chen wrote:
> > --- Brian R Smith <brian at cypher.acomp.usf.edu>
> wrote: 
> > 
> > 
> >>I noticed that under SGE, the default stack size
> >>is set to unlimited and 
> >>that this has been causing a number of problems
> with
> >>some of my 
> >>applications.  I can manually add the line
> > 
> > 
> > What OS is it?
> > 
> > In terms of setting the default stack size, you
> can
> > set it in the queue config. For the default queue
> > "all.q":
> > 
> > % qconf -mq all.q
> > 
> > look for s_stack and h_stack
> > 
> >  -Ron
> > 
> > 
> > 
> >>ulimit -s 10240
> >>
> >>to my submit scripts, but I'd like to make life
> >>easier for my users and 
> >>have this set by default.  Can anyone tell me what
> I
> >>have to do to 
> >>accomplish this and tell me if it is normal for
> the
> >>stack size under SGE 
> >>to be set to 'unlimited'?
> >>
> >>Thanks
> >>
> >>
> >>Brian Smith
> >>
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe at gridengine.sunsource.net
> For additional commands, e-mail:
> users-help at gridengine.sunsource.net
> 
> 


	
		
__________________________________ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/

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