HomeEvergreen: Basic System Admin FunctionsErrorsApache spinning at 100%

8.6. Apache spinning at 100%

Occasionally an Apache process will "spin", consuming 100% of the CPU.  One possible explanation is that the KeepAliveTimeout is set higher than 1.



# KeepAliveTimeout: Number of seconds to wait for the next request from the

# same client on the same connection.


KeepAliveTimeout 15  <-- BAD

KeepAliveTimeout 1  <-- GOOD


This is bad, as "all Evergreen communication with clients on the Internet occurs via http.  If every request hogs an Apache child process for 15 seconds, it will run out of child processes real quick like." (quote by Bill Erickson)


It is unknown at this time whether there is an error in the log files.

This page was: Helpful | Not Helpful