LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Closed Thread
  Search this Thread
Old 05-17-2013, 09:02 PM   #1
tinhduong
LQ Newbie
 
Registered: May 2013
Posts: 5

Rep: Reputation: Disabled
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?
 
Old 05-18-2013, 02:58 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by tinhduong View Post
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

Last edited by jdkaye; 05-18-2013 at 03:01 AM.
 
Old 05-20-2013, 05:03 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
FUP: http://www.linuxquestions.org/questi...te-4175462746/
 
1 members found this post helpful.
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS server crashing, too many httpd processes, mysql crashes too JackJermey Linux - Server 16 05-10-2011 09:59 AM
CentOS 5.3 - Too many httpd process sokha Linux - Server 7 03-12-2010 01:31 AM
(CentOS 5.3 server) httpd.conf configuration issue involving DirectoryIndex xshad0wfx Linux - Server 4 06-19-2009 10:32 PM
High server load... might be this process: /usr/local/apache/bin/httpd -DSSL ajames3436 Linux - Server 4 06-19-2009 07:45 AM
Bad page state in process apache2 (Server reboots frequently) Zeest Linux - Server 2 05-17-2007 11:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration