Error logs in webserver
Hi all,
Recently, I have given charge of a webserver which has a monthly hit of around 1100000. Now the problem is its used to get this message in the error log file and the same message over and over again. After looking for solution I got the picture that if the log size is >2GB then this comes in log and my access_log was 2.2G. So I deleted all entry in access_log file and now its 0. But still this message comes in error_log. In httpd.conf file I have the entry like this Code:
ErrorLog /usr/local/apache/logs/error_log Code:
[Tue Oct 23 22:56:35 2007] [notice] child pid 19560 exit signal File size limit exceeded (25) |
|
Thanks for your reply. But how to stop those errors in logs.
|
Did you restart apache after deleting the 2.2 logfile?
|
No. Do you think that may be the cause of the errors still showing?
|
Most likely apache still thinks that the size of the logfile is more than 2GB. It's better to stop apache, delete or rename the logfile and start apache again, so it creates a new one.
|
Thanks a lot. Restarting apache worked. Then I rotated the log.
|
All times are GMT -5. The time now is 02:19 AM. |