From owner-freebsd-questions Wed Sep 12 23:21:40 2001 Delivered-To: freebsd-questions@freebsd.org Received: from creme-brulee.marcuscom.com (rdu57-28-046.nc.rr.com [66.57.28.46]) by hub.freebsd.org (Postfix) with ESMTP id 3913137B40F for ; Wed, 12 Sep 2001 23:21:35 -0700 (PDT) Received: from shumai.marcuscom.com (shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.11.3/8.11.3) with ESMTP id f8D6KO574204; Thu, 13 Sep 2001 02:20:24 -0400 (EDT) (envelope-from marcus@marcuscom.com) Received: from localhost (marcus@localhost) by shumai.marcuscom.com (8.11.3/8.11.3) with ESMTP id f8D6LYc02184; Thu, 13 Sep 2001 02:21:35 -0400 (EDT) (envelope-from marcus@marcuscom.com) X-Authentication-Warning: shumai.marcuscom.com: marcus owned process doing -bs Date: Thu, 13 Sep 2001 02:21:34 -0400 (EDT) From: Joe Clarke To: KurtChen Cc: Subject: Re: [help]-about /kernel: proc: table is full In-Reply-To: <003001c13c1c$474ddac0$b4a449d3@cnctv.com.tw> Message-ID: <20010913021632.N1638-100000@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 I find that if you're going to run a web server on a machine, the default maxusers of 32 is just too low. You can reconfigure your kernel config file and up the maxusers to something like 128. On my high-end machines, I up it as high as 256 or in some cases 512. With maxusers set to 256, I get 4116 processes. With 512, I get 8212. Joe On Thu, 13 Sep 2001, KurtChen wrote: > hi > I install a freebsd 4.4 rc4 and apache+php4. > and i use a web stress tool access my web server , but in few minutes. > it crash,and cannot telnet and ping time out. > and the monitor popup a message and i cannot login. > it said > "login" frok : resource temporarily unavailable. > > when reboot the machine. i check log . > it said: > Sep 13 12:47:16 www /kernel: pmap_collect: collecting pv entries -- suggest incr > easing PMAP_SHPGPERPROC > Sep 13 13:06:04 www /kernel: proc: table is full > Sep 13 13:06:44 www last message repeated 25 times > Sep 13 13:06:54 www /kernel: proc: table is full > Sep 13 13:37:03 www /kernel: proc: table is full > > how to tune the kernal or PMAP_SHPGPERPROC, > my system and program freebsd4.4 rc4 + apache1.3.12 + php4 > thanks > > kurt > kurt@dv8.com.tw > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message