LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Centos server crash with too many httpd process in D state (https://www.linuxquestions.org/questions/debian-26/centos-server-crash-with-too-many-httpd-process-in-d-state-4175462422/)

tinhduong 05-17-2013 09:02 PM

Centos server crash with too many httpd process in D state
 
I have a Centos server which is running httpd, mysql, memcached and postfix. Normally, my server load is OK
Code:

Usage: /usr/sbin/httpd [-D name] [-d directory] [-f file]
top - 07:43:55 up  9:38,  1 user,  load average: 1.04, 1.08, 1.11
Tasks: 236 total,  1 running, 234 sleeping,  0 stopped,  1 zombie
Cpu(s):  4.2%us,  1.0%sy,  0.0%ni, 93.6%id,  1.1%wa,  0.0%hi,  0.1%si,  0.0%st
Mem:  8015636k total,  5743920k used,  2271716k free,  254304k buffers
Swap:  8392696k total,        0k used,  8392696k free,  4224184k cached

But sometimes it crashes ( httpd is not working, can't connect ssh to server ) and I need to ask the datacenter to reboot it to be able to ssh.

After reconnecting to the server, I check with the top command and see that the server load average is still high ( more than 100 ), CPU ( wait ) is more than 70% , and there are too many httpd process in D state.

Now I'm stuck on this problem. Can anyone offer some advice?

jdkaye 05-18-2013 02:58 AM

Quote:

Originally Posted by tinhduong (Post 4953443)
I have a Centos server which is running httpd, mysql, memcached and postfix. Normally, my server load is OK

Now I'm stuck on this problem. Can anyone offer some advice?

Yes. Absolutely! Don't post Centos questions on a Debian forum. Move this to the Centos (Redhat) forum for better results.
jdk

unSpawn 05-20-2013 05:03 PM

FUP: http://www.linuxquestions.org/questi...te-4175462746/


All times are GMT -5. The time now is 03:50 AM.