From owner-freebsd-questions Sun Jun 4 22:26:54 2000 Delivered-To: freebsd-questions@freebsd.org Received: from netcore.fi (netcore.fi [193.94.160.1]) by hub.freebsd.org (Postfix) with ESMTP id C335337B5A3 for ; Sun, 4 Jun 2000 22:26:50 -0700 (PDT) (envelope-from pekkas@netcore.fi) Received: from localhost (pekkas@localhost) by netcore.fi (8.10.1/8.10.1) with ESMTP id e555Qfc10127; Mon, 5 Jun 2000 08:26:41 +0300 Date: Mon, 5 Jun 2000 08:26:41 +0300 (EEST) From: Pekka Savola Reply-To: Pekka.Savola@netcore.fi To: Alfred Perlstein Cc: Pekka.Savola@netcore.fi, freebsd-questions@FreeBSD.ORG Subject: Re: Setting restrictions on Apache processes In-Reply-To: <20000604220826.K17973@fw.wintelcom.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 > > I'm having trouble with 3.4-STABLE and Apache 1.3.12 w/ PHP3 and MySQL. > > A solution that may help is lowering the value that apache uses for > "max serving" (MaxRequestsPerChild) to something lower than you have > it at now, this will get the apache processes to exit more often which > can cause more load, but hopefully the ones that are eating reasources > will die and let fresh ones with less memory leaked back in. This is a very good idea, I'll try it. Also, for the record, what seems to happen is swap size growing too much, obtaining the "critical mass". With 128 MB of memory, everything looks clean with 220 MB of swap, but just wait for it to get to 300 MB.. In 'top', every second process is swapping () and those degenerated, resource chomping processes start to appear. It seems there is no other way than to add more RAM. Regards, -- Pekka Savola "Tell me of difficulties surmounted, Pekka.Savola@netcore.fi not those you stumble over and fall" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message