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

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

1 Answer 1

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.