From owner-freebsd-questions Thu Aug 2 9: 9:56 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mnmai05.mn.mediaone.net (nic-245-c10-36.mn.mediaone.net [24.245.10.36]) by hub.freebsd.org (Postfix) with ESMTP id E8B1537B401 for ; Thu, 2 Aug 2001 09:09:52 -0700 (PDT) (envelope-from orpheus@mnmai05.mn.mediaone.net) Received: (from orpheus@localhost) by mnmai05.mn.mediaone.net (8.9.3/8.9.3-CONDOLAN) id LAA10450; Thu, 2 Aug 2001 11:09:50 -0500 Date: Thu, 2 Aug 2001 11:09:50 -0500 From: Jeffrey Dunitz To: Joseph Holland King Cc: questions@FreeBSD.ORG Subject: Re: proc: table full Message-ID: <20010802110949.A1316@lemieux.condolan.asn> Reply-To: orpheus@avalon.net References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from insanc@cc.gatech.edu on Thu, Aug 02, 2001 at 10:50:19AM -0400 X-Blargh: This message is Blargh. (lemieux) X-Crypto-Secret: 225d762b2865446cb716507e35d50ca7 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 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