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

I run a PHP script, something goes wrong (I haven't figured out what yet). Just to have a fresh start. I restart apache, but in the logs I get this:

[Fri Dec 25 21:27:16 2009] [notice] Child 7584: Child process is running
[Fri Dec 25 21:27:16 2009] [notice] Child 7584: Acquired the start mutex.
[Fri Dec 25 21:27:16 2009] [notice] Child 7584: Starting 64 worker threads.
[Fri Dec 25 21:27:16 2009] [notice] Child 7584: Starting thread to listen on port 9090.
[Fri Dec 25 21:27:30 2009] [notice] Child 10048: Waiting 180 more seconds for 6 worker threads to finish.

Firstly, what is the above and what does it mean?

Secondly, how do I get apache to restart properly without waiting for any child process. I ask this because, I find that some of the new php runs I do, just hang and I am guessing apache/php is wating for what ever was running before?

Thanks all, I really appreciate help on the above.

share|improve this question

migrated from Dec 25 '09 at 22:32

This question came from our site for professional and enthusiast programmers.

I think this belongs on serverfault, but anyway:

The log messages sound like you are using mpm_worker. This is probably not a good idea if you load mod_php.

Try switching to mpm_prefork and see what happens.

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.