Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

It seems I have a lot of duplicate processes (apache), is it normal ?

This is the output of the htop command on my ubuntu server 12.04 :

enter image description here

Thank you for your advices.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

No, it's not weird. Yes, it's normal.

Apache can use multi-processing modules (MPM) to handle concurrent requests (see Apache MPM documentation). The default used in Ubuntu is prefork, which spawns several processes and allows each one to serve incoming requests.

If the server was receiving significant traffic, you would see even more processes spawned, but even without traffic there will be several spare processes waiting.

share|improve this answer
add comment

Your Answer

 
discard

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.