From owner-freebsd-questions Fri Nov 19 15:30: 6 1999 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 8928A1507B for ; Fri, 19 Nov 1999 15:30:02 -0800 (PST) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.0.4] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.092 #1) id 11ow1e-000Gnb-00; Fri, 19 Nov 1999 21:57:02 +0000 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.092 #1) id 11ow1e-0000xp-00; Fri, 19 Nov 1999 21:57:02 +0000 Date: Fri, 19 Nov 1999 21:57:02 +0000 From: Ben Smithurst To: Mike Alich Cc: questions@freebsd.org Subject: Re: Child Processes Message-ID: <19991119215702.C3558@strontium.scientia.demon.co.uk> References: <3835C199.ECBA024B@cctinc.net> <19991119215357.B3558@strontium.scientia.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <19991119215357.B3558@strontium.scientia.demon.co.uk> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ben Smithurst wrote: > Mike Alich wrote: > >> I have a web server running and it is under thousands of requests per >> day, about 500,000 for just one site. The problem I am having is cgi's >> can not run because the web server is telling me it can't spawn child >> process because resources are temporarily unavailable. >> >> What can I do to stop this problem? Is there a setting in the kernel or >> where can I go. I have been trying to tweak Apache but no luck there... > > What does `sysctl -a | grep maxproc' show? You *might* be able to arggh. Some of that might only apply to 3.X, I don't know as much about 2.2.x (I didn't notice that's what you were using the first time). On earlier systems I think there was a CHILD_MAX kernel config option which controls the maximum number of processes. You might like to check LINT and GENERIC under /sys/i386/conf to see if they have anything so say. -- Ben Smithurst | PGP: 0x99392F7D ben@scientia.demon.co.uk | key available from keyservers and | ben+pgp@scientia.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message