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

Is storing the logs a blocking action? (Does the request block until logs are written)? Or are they asynchronous?

What happens if writing to the logfile fails, or just take a long time?

share|improve this question

Have not tested with Apache 2 actually, but with Apache 1.3 series I did hit the 2 GB log file limit size several time. At that point Apache stopped responding, so at least for old Apache the log access capabilities were crucial for Apache's operation.

If this is true even with Apache 2.x, it's possible to workaround by piping the logs to logger. That way logs are sent to syslog facilities.

CustomLog "|/usr/bin/logger" combined

If you can play around with your Apache server, try to block the access to log file while Apache is running: mount your log mount point read-only or chown the access rights away. 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.