Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

We have a situation - we have a lot of webapps on the server and some cron jobs. We are suspecting that perhaps one of the cron jobs is causing growth of number of apache processes.

I know Apache creates processes for new visitors to be able to handle their requests in parallel, but are there any other situations, when Apache creates new processes?

Actually we cannot discover, which of the jobs is it. How to debug it in real-time, or check back in history, which of script of "webapp", or user (of database) has overloaded the server?

Are there any useful tools for that?

share|improve this question

migrated from Mar 2 '11 at 9:13

This question came from our site for computer enthusiasts and power users.

Which mpm module are you running? single or multi-cpu system? – John T Mar 2 '11 at 7:46
up vote 0 down vote accepted

If you suspect a cron job is causing the additional Apache requests, you should be able to monitor/grep the default Apache access log (/var/log/apache2/access.log).

Also, double check your Apache config for the settings you're using. If you haven't made any modifications to the default config, then it is likely you're using the Prefork MPM, and you can find your current settings in /etc/apache2/apache2.conf.

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.