Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Please see the following screenshot. There are too many apache processes all in D(disk sleep) state with very high ram usage.

enter image description here

Is there a way to know what's causing these processes to stay in D state and eating so much memory?

share|improve this question
up vote 1 down vote accepted

I would first look at apachtctl fullstatus (you may need to install w3m first, a text-based web-browser).

You are out of memory (look at your swap figures), so you need to down-tune the number of processes that are started in your apacheconf. Look at MaxClients, ServerLimit, MaxSpareClients, MinSpareClients, etc.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.