httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 41815] New: - Apache won't start if log file too big
Date Sun, 11 Mar 2007 21:33:21 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41815>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41815

           Summary: Apache won't start if log file too big
           Product: Apache httpd-1.3
           Version: HEAD
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: marauder112@hotmail.com


I noticed one of my webservers which has been running for months without a 
single login suddenly stopped responding, yet all other services except Apache 
were fine. I logged in, found no Apache processes, so I tried to start it. 
Apache returned the error that Maxclients was higher than the Hardlimit, yet I 
had not recompiled for atleast six months now, and the server was running 
perfectly. I dropped the limit in httpd.conf and tried to start it again. This 
time I received absolutely no error messages, but no processes came up. I then 
noticed this:

[root@silencer logs]# ls -al
total 2099564
drwxr-xr-x   2 root root       4096 Dec  2 03:22 .
drwxr-xr-x  13 root root       4096 Nov 23 07:18 ..
-rw-r--r--   1 root root     331776 Mar  6 18:26 access_log
-rw-r--r--   1 root root 2147483647 Mar  7 06:16 error_log
-rw-r--r--   1 root root          5 Feb 13 01:16 httpd.pid

I rm'd the error_log, tried to start Apache and it came up with no prob. As we 
all know 2,147,483,647 is the magic int32 number. I'm surprised a long wasn't 
used, but anyway.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message