Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Aug 2001 11:09:50 -0500
From:      Jeffrey Dunitz <orpheus@lemieux.condolan.asn>
To:        Joseph Holland King <insanc@cc.gatech.edu>
Cc:        questions@FreeBSD.ORG
Subject:   Re: proc: table full
Message-ID:  <20010802110949.A1316@lemieux.condolan.asn>
In-Reply-To: <Pine.SOL.4.21.0108021047420.6319-100000@felix.cc.gatech.edu>; from insanc@cc.gatech.edu on Thu, Aug 02, 2001 at 10:50:19AM -0400
References:  <Pine.SOL.4.21.0108021047420.6319-100000@felix.cc.gatech.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On this day Thu, Aug 02, 2001 at 10:50:19AM -0400, the following great
wisdom poured forth from the mouth of Joseph Holland King, to the stark
amazement of all who witnessed: 
> today i wake up to find this:
> /kernel : proc: table is full
> what is causing this, how do i fix, how do i prevent it? thank you.

There is a static limit of the number of processes that can run at once
on your machine. If you hit this limit, it's probably because you have
some program or 
service running that forks like crazy--a busy web or mail server,
perhaps?
 
Do /sbin/sysctl -a | grep proc, and you'll see some of the kernel
paramters that affect process table limits. You can change them with
sysctl -w <thing to change>
Read the sysctl manpage for actual details.
 
I think by default, the kern.maxproc is set to like 532, and the 
per-user limit is one less than that. Try doubling kern.maxproc, 
and bump up the per-user one to one less than that, so like 
1064 and 1063, respectively. If you still run out of processes, 
make sure you don't have some other kind of problem, like something
that runs away. I've seen boxes that run a couple thousand processes
simultaneously, but not very often. Unless you're running a really
big box, i'd be suspicious.


> 
> --  
> Joseph Holland King  | "God whispers to us in our pleasures, speaks in our
>                      |  conscience, but shouts in our pains: it is His
>                      |  megaphone to rouse a deaf world." C. S. Lewis
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Jeffrey Dunitz                 |    unix   | orpheus@avalon.net
BOFH Emeritus, Avalon Networks |    perl   | (651) 686-9974 /
http://www.avalon.net/~orpheus |  net/sec  | Eagan, MN  _ /

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010802110949.A1316>