[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (v)forking problems



On Tue, 24 Feb 2004, rich cannnings wrote:

> I routinely recieve fork(2) and vfork(2) errors while running 
> various operations, receive errors such as:
> 
> 	/bin/sh: cannot fork - try again
> 
> My system is *not* under severe load during these times. What must 
> I change to allow more forking? Must a call something with sysctl? 
> ulimit?

check [u]limit.  running a fancy windowmanager probably ues half your 
procs right there.  default system limit, sysctl kern.maxproc, is 532, 
which should be enough if it's just you.

-- 
all we're waiting for is for something worth waiting for