Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Apache CPU Usage |
|
Author |
|
VoodooMill
Joined: 11 Jan 2007 Posts: 60
|
Posted: Sat 17 Feb '07 1:50 Post subject: Apache CPU Usage |
|
|
Hello,
My problem is excessive CPU utilization by httpd.exe
Some information:
Recently I put into production a compiled version of 2.2.3 using mod_deflate, mod_ssl, mod_ldap, mod_authnzldap. I compiled using VC++ 6 and used assembly optimizations for the components OpenSSL and zlib.
Previously I was running 2.0.59 and mod_deflate and it always handled the load (~15,000 visits/1,000,000 hits per day), with 2-3% CPU utilization. Terrific!
In fact, even now when I start 2.2.3 it will run at around 2% CPU for hours, then suddenly jump to 25% CPU and stay there until I restart the Apache service. Now I'm noticing httpd.exe is up to 50% CPU and it's the time of day where traffic is greatly reduced.
Has anyone seen this happen before or have any suggestions as to what might be causing this? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Mon 19 Feb '07 10:37 Post subject: |
|
|
You try
Win32DisableAcceptEx
EnableSendfile Off
EnableMMAP off |
|
Back to top |
|
VoodooMill
Joined: 11 Jan 2007 Posts: 60
|
Posted: Mon 19 Feb '07 20:58 Post subject: |
|
|
Thanks for the suggestion James. I read up on those settings and added them to the configuration. I will post results after the server has had some time to run...time will tell.
Thanks again! |
|
Back to top |
|
VoodooMill
Joined: 11 Jan 2007 Posts: 60
|
Posted: Thu 22 Feb '07 2:31 Post subject: |
|
|
Well, it's been a few days and the httpd.exe process has been behaving with it's CPU usage.
Thanks for the help! |
|
Back to top |
|
|
|
|
|
|