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

This is apache 2.2.14 on SLES9.

Out of nowhere (i.e. it had been working fine for ages) I am seeing apache2 suddenly start using 100% of the CPU at startup, and never completing startup. Nothing is getting written to /var/log/error_log (when it did back when things were OK). ps only shows the main httpd process and not any of the spawned threads. When things were OK, it would show the spawned threads.

So it appears httpd is going into some sort of infinite loop right at startup and isn't even completing startup. It's not an issue of being overloaded by connections -- this happens even when nothing is trying to contact it.

The config files haven't changed (or at least they haven't changed in a way that changed their last-modified time).

I've tried added -e debug -E /var/log/apache2/startup_info to the command line, but nothing is put in the file.

Any ideas what could be happening?

share|improve this question
What is syslog showing when you shutdown Apache and start it back up clean? After you issue the stop command, confirm with ps that all processes are stopped before starting it back up. Post your findings – bmurtagh Oct 26 '12 at 21:17
Our Apache isn't configured to log to syslog and even when working normally it does not log anything there. ps shows that the httpd process does go away when the apache shutdown command is issued. – QuantumMechanic Oct 27 '12 at 5:53
up vote 0 down vote accepted

It turns out the problem was that apache's SSL session cache file got corrupted. Once we stopped apache again and deleted the file everything was fine again.

share|improve this answer
Any information about the file other than it was "some" file on your system? – gparent Nov 14 '12 at 0:35

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.