*BSD News Article 92273


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!cs.mu.OZ.AU!munnari.OZ.AU!uunet!in1.uu.net!207.22.81.9!europa.clark.net!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!dispatch.news.demon.net!demon!stress.noc.demon.net!hdm
From: hdm@demon.net (Dominic Mitchell)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Resource limits under 2.2-RELEASE
Date: Wed, 26 Mar 1997 13:41:18 GMT
Organization: Demon Internet Ltd.
Message-ID: <slrn5ji9ru.6fv.hdm@stress.noc.demon.net>
Reply-To: hdm=news@demon.net
NNTP-Posting-Host: stress.noc.demon.net
X-NNTP-Posting-Host: stress.noc.demon.net
X-URL: http://www.demon.net/
X-Newsreader: slrn (0.9.3.2 UNIX)
Lines: 29
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:38006

I have a brand, shiny, new FreeBSD workstation.  Unfortunately,
something odd happened.  After I had lots of xterms open, I started
getting "fork failed: resource unavailable" messages.  So I changed my
~/.zprofile to do "unlimit maxproc", which appeared to fix the problem.

However, I later discovered that if I telnetted back into my
workstation, I get the following error:

/home/hdm/.zprofile: fork failed: resource temporarily unavailable [14]

Even though this error comes *after* the "unlimit maxproc" statement.  I
am assuming that this is the resource that I am runnig out of, as I'm
certainly not running out of process table entries:

stress:hdm$ sysctl -a | grep maxproc
kern.maxproc: 532
kern.maxprocperuid: 531
stress:hdm$ ps ax | wc -l
      72
stress:hdm$ 

Does anybody have any idea of what limit I need to tune, to fix this?

-Dom
-- 
This posting is not an official communication of Demon Internet
Ltd., unless otherwise stated.
---- Work: hdm=news@demon.net ---- Play: dom-news@myrddin.demon.co.uk ----
The Emergency Virtual Mike.