From owner-freebsd-questions Fri Nov 19 13:41: 8 1999 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 34C2D156EA for ; Fri, 19 Nov 1999 13:40:56 -0800 (PST) (envelope-from bright@wintelcom.net) Received: from localhost (bright@localhost) by fw.wintelcom.net (8.9.3/8.9.3) with ESMTP id OAA28754; Fri, 19 Nov 1999 14:07:19 -0800 (PST) Date: Fri, 19 Nov 1999 14:07:19 -0800 (PST) From: Alfred Perlstein To: Mike Alich Cc: questions@FreeBSD.ORG Subject: Re: Child Processes In-Reply-To: <3835C199.ECBA024B@cctinc.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 19 Nov 1999, Mike Alich wrote: > I am wondering if you can help. > > 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... some apache tweaks that have worked for me: raise maxchildrequests to something like 300 or more. make sure limits are off, probably via 'ulimit' bump maxusers to something like 256. since you didn't give a single hint as to your hardware config i'll stop here as i don't want to bump limits so high that it overloads your machine. > Thanks in advance. > > p.s. I am running 2.2.8 FreeBSD. it'd probably be advisable to upgrage to 3.3-stable as soon as you can. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message