From owner-freebsd-questions Wed Aug 4 16: 7:19 1999 Delivered-To: freebsd-questions@freebsd.org Received: from tinker.com (troll.tinker.com [204.214.7.146]) by hub.freebsd.org (Postfix) with ESMTP id DD0F315211 for ; Wed, 4 Aug 1999 16:06:40 -0700 (PDT) (envelope-from carol@tinker.com) Received: by localhost (8.8.5/8.8.5) Received: by mail.tinker.com via smap (V2.0) id xma016467; Wed Aug 4 17:48:07 1999 Received: by localhost (8.8.8/8.8.8) id SAA24341; Wed, 4 Aug 1999 18:02:29 -0500 (CDT) Message-ID: <37A8C6F8.DE342D4E@tinker.com> Date: Wed, 04 Aug 1999 18:04:24 -0500 From: Carol Deihl Organization: Shrier and Deihl X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 2.2.8-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Mike Hoskins Cc: Luis Moreno , freebsd-questions@FreeBSD.ORG Subject: Re: Troubles with Apache on FreeBSD References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm reasonably sure that fiddling with maxusers won't fix this particular problem. At the time I first encountered the problem, I was running with maxusers 128 and CHILD_MAX=512 and OPEN_MAX=1024. Making these very large did not effect the problem. So I put some debug statements in the Apache source in mod_cgi.c and found that it was dying at the fork with errno=35. Once I upped the limit maxproc, I never had the problem again. This was on FBSD 2.2.x (don't recall which, exactly), about a year and a half ago, with similar versions of the software as Luis is running. Carol Mike Hoskins wrote: > > On Wed, 4 Aug 1999, Carol Deihl wrote: > > [-isp snipped from CC] > > > limit maxproc 1024 > > > [Wed Aug 4 17:13:17 1999] [error] (35)Resource temporarily unavailable: > > > couldn't spawn child process: /var/www/cgi-bin/Count.cgi > > Here's a stab too (since I call apache with sh on a heavily loaded > server)... What's maxusers set to in your kernel config file? > > Check LINT for a description... I'm running maxusers 256 here. > > -Mike -- Carol Deihl - carol@tinker.com Shrier and Deihl - Unix Network Admin and Internet Software Development http://www.tinker.com/ - Tinker Internet Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message