httpd pid system load

shayhalif

Verified User
Joined
Oct 4, 2012
Messages
5
I have lots of open pid of apache in the server
the cpu as allways on 40%-60% in this case

I'm using :
Processor Name Intel(R) Xeon(R) CPU E5620 @ 2.40GHz
Processor Speed (MHz) 2393.475
Total Memory 2225764 kB
Free Memory 384328 kB
Total Swap Memory 2031608 kB
Free Swap Memory 2031604 kB
Apache 2.2.23
DirectAdmin 1.41.1
Exim 4.72
MySQL 5.0.67
Named 9.4.2
ProFTPd 1.3.3c
sshd
dovecot 2.1.9
Php 5.2.17
Process Monitor.jpg
Service Monitor.jpg
 
Have multiple pids is totally normal, you should try to optimize and limit the number of process and child for apache server, but, maybe are just visitors.. you should need a check on you server, and, also, maybe a mysql optimize (if website does use mysql)

Regards
 
optimize apache

hi

I tried to change /etc/httpd/conf/httpd.conf but it dosen't helped me
those are the settings I have made :

KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 15

<IfModule prefork.c>
StartServers 8
MinSpareServers 5
MaxSpareServers 10
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 4000
</IfModule>

is the file I have changed are the right one ?
do you have recommended settings?

thanks
shay
 
All your software is outdated you need to upgrade it. Php 5.2 is very insecure.
 
the service HTPD

the service that run and take all CUP is /usr/sbin/httpd -k start -DSSL
 
Back
Top