A lots of Apache processes are using my CPU uses always more than 70%
Posted
by
Barkat Ullah
on Server Fault
See other posts from Server Fault
or by Barkat Ullah
Published on 2012-04-13T10:07:06Z
Indexed on
2012/04/13
11:32 UTC
Read the original article
Hit count: 287
I am running a plesk panel in 1and1. I have 120 sites running and all are using pligg cms, each site has 600 visitors per day. Please see the details of my server below:
HDD-1000GB RAM-16GB Processor-6 Core
I always see a lot of apache processes running in my # top view, so the server seems overloaded. If I can reduce the amount apache processes I think the server will be ok. But I don't know why too many apache processes are running.
Please see the link below for the screenshot of my # top view:
http://dl.dropbox.com/u/26967109/%23Top-2.jpg
Sometimes I saw too many connection error in my plesk control panel, so I added the below line in my [mysqld] section:
set-variable=max_connections=416
But I didn't find a solution yet. I have also added maxclients and serverlimit 416 in the config /etc/httpd/conf/httpd.conf
But no solution yet. I am researching around more than 7 days but don't get any solution. Please help me to solve the problem.
In peak hours my sites are taking too much time to load, but off-peak hour it is ok.
Please help me to find out the actual problem.
© Server Fault or respective owner