Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!howland.erols.net!newsfeed.internetmci.com!in1.uu.net!EU.net!main.Germany.EU.net!Dortmund.Germany.EU.net!interface-business.de!usenet From: j@ida.interface-business.de (J Wunsch) Newsgroups: comp.unix.bsd.bsdi.misc Subject: Re: ulimit in rc.local ? Date: 28 Oct 1996 11:22:29 GMT Organization: interface business GmbH, Dresden Lines: 26 Message-ID: <55251l$qm1@innocence.interface-business.de> References: <550osv$fcj@tuegate.tue.nl> Reply-To: joerg_wunsch@interface-business.de (Joerg Wunsch) NNTP-Posting-Host: ida.interface-business.de X-Newsreader: knews 0.9.6 X-Phone: +49-351-31809-14 X-Fax: +49-351-3361187 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E robk@stack.urc.tue.nl (Rob Kouwenberg) wrote: > I have a stupid thought problem. I know that in a ksh a 64Mb limit is imposed > in this shell. Supposedly in csh one can define ulimit. But what if a > user starts up a csh while in a ksh ? > > What system limits are defined while executing netstart, or rc.local ? The limits are not in the shells, the shells only offer an interface to change it (ulimit in Bourne-alike shells, limit in C-alike shells). RTFM [sg]etrlimit(3). With a newer BSD/OS, the login classes determine the default user limits. For older systems, i assume they were compiled into the kernel. There are probably still `hard' limits for some resources compiled into the kernel, like those for the data segment and stack segment size. These cannot be grown dynamically beyond their compile-time value. -- J"org Wunsch Unix support engineer joerg_wunsch@interface-business.de http://www.interface-business.de/~j