From owner-freebsd-questions@FreeBSD.ORG Thu May 3 23:57:14 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C1A7B16A400 for ; Thu, 3 May 2007 23:57:14 +0000 (UTC) (envelope-from Russell.Wood@rac.com.au) Received: from maserati.rac.com.au (maserati.rac.com.au [61.88.37.66]) by mx1.freebsd.org (Postfix) with ESMTP id BECFE13C484 for ; Thu, 3 May 2007 23:57:13 +0000 (UTC) (envelope-from Russell.Wood@rac.com.au) Received: from mazda.rac.com.au ([172.16.5.50]) by audi.rac.com.au with Microsoft SMTPSVC(6.0.3790.1830); Fri, 4 May 2007 07:57:11 +0800 Received: from mercury.rac.com.au ([172.16.5.42]) by mazda.rac.com.au with Microsoft SMTPSVC(6.0.3790.1830); Fri, 4 May 2007 07:57:10 +0800 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2826 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Fri, 4 May 2007 07:57:10 +0800 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to make Apache (2.2.4) less greedy, or Sendmail less polite? Thread-Index: AceN0Mb5KVfiTgu+Q5eRHs4BbHo5yQADZSEA Importance: normal References: <2BEB30C2-C9C5-43AB-9DCA-5C9A1B0AC2C0@axis.nl> Priority: normal From: "Wood, Russell" To: , X-OriginalArrivalTime: 03 May 2007 23:57:10.0922 (UTC) FILETIME=[C3B7FEA0:01C78DDE] X-imss-version: 2.046 X-imss-result: Passed X-imss-scanInfo: M:P L:E SM:0 X-imss-tmaseResult: TT:0 TS:0.0000 TC:00 TRN:0 TV:3.6.1039(15154.001) X-imss-scores: Clean:99.90000 C:2 M:3 S:5 R:5 X-imss-settings: Baseline:2 C:1 M:1 S:1 R:1 (0.1500 0.1500) Cc: Subject: RE: How to make Apache (2.2.4) less greedy, or Sendmail less polite? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2007 23:57:14 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of Olaf Greve > Sent: Friday, 4 May 2007 6:16 AM > To: freebsd-questions@freebsd.org; freebsd-amd64@freebsd.org > Subject: How to make Apache (2.2.4) less greedy, or Sendmail less polite? >=20 > Hi, >=20 > Recently I upgraded my Apache 1.3.33 webserver to Apache 2.2.4, and > ever since, I noticed that it is acting in such a way that it often > is VERY greedy with my server's resources. > Quite often, when running "top", a list that is as the one that > appears at the bottom of this e-mail is shown: indeed pretty much > solely httpd instances, that for extended periods of time almost > continously pull the CPU to close to 100%, and that also consume a > lot of the memory resources... Strangely enough, at other times the > CPU load is just slightly above 0%, say 0.4% or so... >=20 > Apart from the fact that it "doesn't feel right" to see the CPU for > substantial amounts of time, almost constantly close to 100%, there > is a further issue, being that sendmail rejects connections when the > server load is (too) high. This is very annoying, as e-mail is also a > crucial part of the server's functionality, and I don't want sendmail > to reject connections, each and every time that Apache goes berserk. DISCLAIMER: Disclaimer. This e-mail is private and confidential. If you are not the = intended recipient, please advise us by return e-mail immediately, and = delete the e-mail and any attachments without using or disclosing the = contents in any way. The views expressed in this e-mail are those of the = author, and do not represent those of this company unless this is = clearly indicated. You should scan this e-mail and any attachments for = viruses. This company accepts no liability for any direct or indirect = damage or loss resulting from the use of any attachments to this e-mail.