Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!newshost.telstra.net!act.news.telstra.net!psgrain!news.uoregon.edu!hunter.premier.net!news.jmls.edu!chi-news.cic.net!nntp.coast.net!zombie.ncsc.mil!news.mathworks.com!fu-berlin.de!cs.tu-berlin.de!uni-erlangen.de!news.tu-chemnitz.de!irz401!uriah.heep!news From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Help: Can't fork Date: 5 Mar 1996 22:29:44 GMT Organization: Private BSD site, Dresden Lines: 30 Message-ID: <4hif8o$70i@uriah.heep.sax.de> References: <DnpE3K.Dz.0.rainfall.seaslug.org@raindrop.seaslug.org> Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) NNTP-Posting-Host: localhost.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: knews 0.9.3 unger@raindrop.seaslug.org (Thomas Unger) writes: > I'm limited to about 25 processes running under my user id. At that point > I start getting "Can't fork, resource temporarily unavailable". Looks like > a per user limit because I can continue to create more processes under > other user IDs. The default limit is 40 processes (but the suid processes that are running on your behalf fall into this limit). The limit command in the csh, or the ulimit command in Bourne-alike shells provide a means to bump this. Alas, the old /bin/sh that shipped with 2.1R didn't grok it. I've been tempted to make you a patch, but i found that it's rather large. The /bin/sh in 2.2-current knows about ulimit, perhaps you'd get this one. For csh: limit maxproc 100 For sh: ulimit -S -u 100 -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)