Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 26 Sep 2002 16:20:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 26 Sep 2002 16:20:06 -0400 Received: from [217.7.64.198] ([217.7.64.198]:62166 "EHLO mx1.net4u.de") by vger.kernel.org with ESMTP id ; Thu, 26 Sep 2002 16:20:06 -0400 Content-Type: text/plain; charset=US-ASCII From: Ernst Herzberg Reply-To: earny@net4u.de To: Rik van Riel , Marco Colombo Subject: Re: Very High Load, kernel 2.4.18, apache/mysql Date: Thu, 26 Sep 2002 22:25:08 +0200 User-Agent: KMail/1.4.2 Cc: Adam Goldstein , References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Message-Id: <200209262225.08640.earny@net4u.de> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1217 Lines: 33 KeepAlive On # that is ok MaxKeepAliveRequests 1000 # that is too high. No Client will request such count. Check your Pages: How many Images/Frames/etc you nee per request? Should not reach 100 ;-) KeepAliveTimeout 15 # that is the key, but that is dangerous. Too high, and you will run out of MaxClients. But you see that in serverstats ('K') On Donnerstag, 26. September 2002 21:27, Rik van Riel wrote: > On Thu, 26 Sep 2002, Marco Colombo wrote: > > On Thu, 26 Sep 2002, Ernst Herzberg wrote: > > > MaxClients 256 # absolute minimum, maybe you have to recompile apache > > > MinSpareServers 100 # better 150 to 200 > > > MaxSpareServers 200 # bring it near MaxClients > > > > KeepAlive On > > MaxKeepAliveRequests 1000 > > That sounds like an extraordinarily bad idea. You really > don't want to have ALL your apache daemons tied up with > keepalive requests. > > Personally I never have MaxKeepAliveRequests set to more > than 2/3 of MaxClients. > - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/