homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Hardware and OS Related Technologies / Webmaster Hardware
Forum Library, Charter, Moderator: open

Webmaster Hardware Forum

High Apache CPU load
Apache is eating up CPU memory

Msg#: 4268841 posted 6:07 am on Feb 18, 2011 (gmt 0)


I have a problem with my server. The usage of CPU is very high. It vary, but up to 75% when having 100 visitors.
Both Plesk Watchdog and Health Monitoring is showing this.

# Intel® Xeon® X3440 Quadcore 64 Bit
# 2x 1.000 GB SATA II-HDD
# Centos 5
# Plesk 10

Another thing is that when I run this command: netstat -n | grep :80 |wc -l it gives a number up to 900.
I dont think its a ddos, but maybe a problem with the server.

I have no idea how to solve this. please help.

Regards Boxer



Msg#: 4268841 posted 5:15 pm on Feb 18, 2011 (gmt 0)

I have attached a screenshot from Plesk 10 health monitoring:

As you can see Apache CPU usage is high: 55%
But the CPU Total usage is: 7.6%

Is the Apache CPU usage limited somewhere or is there any other reason for the Apache high load?



WebmasterWorld Senior Member 5+ Year Member

Msg#: 4268841 posted 8:08 pm on Feb 18, 2011 (gmt 0)

what does the detailed report say.

im not a linux guy but if apache was doing that on my windows server i'd stop the service and restart it, sometimes stuff gets sideways and needs a little slap.

can you see your network interface activity? hmm I don't like servers in far off lands, you can't get behind the controls and really figure stuff out.


Msg#: 4268841 posted 8:46 pm on Feb 18, 2011 (gmt 0)

Detailed report isnt detailed at all :)
It just shows some graphics.

httpd has been restarted several times, but I will do a Server software reboot later tonight.

I have solved the netstat problem by turning KeepAlive On. Now the number is below 100.

But the Apache CPU Usage is still a problem.
I am sure its a config problem, but cant figure it out and google isnt helping me at all :(


WebmasterWorld Senior Member 5+ Year Member

Msg#: 4268841 posted 9:18 pm on Feb 18, 2011 (gmt 0)

this started out of the blue?


Msg#: 4268841 posted 2:22 pm on Feb 27, 2011 (gmt 0)

I don't see any problem. Your system load is 0.33, which is more than fine. On quad core it can go up to 4.00 without any problems and you can still have everything working fine up to 8.00-10.00 range. If you have many visitors it is normal that CPU and RAM is used.

What you fail to mention is whether there is any visible slowdown while you use the website? If there isn't any, then there is nothing you should worry about.


Msg#: 4268841 posted 8:36 am on Mar 1, 2011 (gmt 0)

J_RaD -> It started when I updated to Plesk 10+ (latest version)
I am not sure if that was the problem.

mbabuskov -> There was a slight slowdown.

I changed the server OS, now running Debian instead of Centos.
Everything is running fine now.

Thanks for your help.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Hardware and OS Related Technologies / Webmaster Hardware
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved