How to make Apache (2.2.4) less greedy, or Sendmail less polite?

Wood, Russell Russell.Wood at rac.com.au
Thu May 3 23:58:43 UTC 2007


> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org [mailto:owner-freebsd-
> questions at freebsd.org] On Behalf Of Olaf Greve
> Sent: Friday, 4 May 2007 6:16 AM
> To: freebsd-questions at freebsd.org; freebsd-amd64 at freebsd.org
> Subject: How to make Apache (2.2.4) less greedy, or Sendmail less
polite?
> 
> Hi,
> 
> 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...
> 
> 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.

Is there any reason you are using Apache over another HTTP Daemon?

Personally, I think Apache has gone down hill with regard to gluttony so
I stopped using it a while ago. My preference is now Lighttpd.

NB: Sorry about previous post. Outlook went crazy.

- Russell


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.


More information about the freebsd-questions mailing list