From owner-freebsd-hackers Wed Jun 17 06:14:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA19534 for freebsd-hackers-outgoing; Wed, 17 Jun 1998 06:14:42 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from oslo.geco-prakla.slb.com (geos01.oslo.geco-prakla.slb.com [134.32.44.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA19493 for ; Wed, 17 Jun 1998 06:14:32 -0700 (PDT) (envelope-from smoergrd@geos01.oslo.geco-prakla.slb.com) Received: from recas002.geco-prakla.slb.com (recas002 [134.32.45.92]) by oslo.geco-prakla.slb.com (8.8.8/8.6.9) with SMTP id PAA11642 ; Wed, 17 Jun 1998 15:13:53 +0200 (MET DST) Received: by recas002.geco-prakla.slb.com (SMI-8.6/SMI-SVR4) id PAA01271; Wed, 17 Jun 1998 15:19:36 +0200 To: Matthew Hagerty Cc: hackers@FreeBSD.ORG Subject: Re: Resource config problem References: <3.0.3.32.19980616102101.0076be88@smtp.net-link.net> Organization: Schlumberger Geco-Prakla From: smoergrd@oslo.geco-prakla.slb.com (Dag-Erling Coidan Smørgrav) Date: 17 Jun 1998 15:19:35 +0200 In-Reply-To: Matthew Hagerty's message of Tue, 16 Jun 1998 10:21:01 -0400 Message-ID: Lines: 16 X-Mailer: Gnus v5.3/Emacs 19.34 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matthew Hagerty writes: > We just switched from BSDI to FreeBSD and now we can only serve maybe 70 > connections max. Also, none of our cgi programs can run. There is an > error in the apache error_log that says could not spawn child process: > resources unavailable. "resource unavailable" when forking usually means your process table is full. You need to raise the value of maxusers in your kernel configuration file. The limit on the number of concurrent processes is (20 + 16 * maxusers); on a Web server, I'd set it to at least 32. On a side note, you might also want to raise the number of MBUF clusters (NMBCLUSTERS). The default is (512 + 16 * maxusers). -- Dag-Erling Smørgrav - smoergrd@oslo.geco-prakla.slb.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message