apache generating to many rotatelogs.exe on Windows?

Posted by Patrick on Server Fault See other posts from Server Fault or by Patrick
Published on 2010-03-24T20:00:13Z Indexed on 2010/03/24 20:03 UTC
Read the original article Hit count: 325

I'm seeing some odd behavior with Apache's rotatelogs.exe. On one of my servers I'm seeing multiple rotatelogs.exe counting into the 100's. Normally I usually only see 6 which I can rationalize to the 3 logs I have rotating. Does anyone know why this might be happening and how I can prevent it from happening. When the rotatelogs.exe processes get up into the 100's everything slows down and Apache is effectively shutdown because it can't process requests anymore.

We are using the following line in our httpd.conf file:

ErrorLog "|\"C:/Program Files/Apache2/bin/rotatelogs.exe\" \"C:/Program Files/Apache2/logs/error_log.%Y-%m-%d-%H_%M_%S\" 20M"

Thanks in advance for the help!

© Server Fault or respective owner

Related posts about apache

Related posts about Windows