DevHeads.net

Postings by stalker@locum.ru

protect apache to stop work if logdir is missing

Hi!

I need the web server to continue working if the user has deleted the
log directory.
I wrote a small patch. Are there any obvious errors in it that disrupt
the operation of the web server or lead to a memory / pointer leak?

strange in error.log

some time i see in error.log

==

[Thu Oct 13 14:04:00 2011] [error] False
[Thu Oct 13 14:04:00 2011] [error] False
[Thu Oct 13 14:04:00 2011] [error] False
[Thu Oct 13 14:04:00 2011] [error] True
[Thu Oct 13 14:04:00 2011] [error] True
[Thu Oct 13 14:04:00 2011] [error] True
[Thu Oct 13 14:04:00 2011] [error] False
[Thu Oct 13 14:04:00 2011] [error] False
[Thu Oct 13 14:04:00 2011] [error] False
[Thu Oct 13 14:04:00 2011] [error] False
[Thu Oct 13 14:04:00 2011] [error] False

how to fit it ?

Apache stops responding until being reloaded.

Some time Apache stops responding until being reloaded. on server work
mod_php5 and wsgi for django app. os debian 6.0.2.