You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2007/03/11 22:33:21 UTC
DO NOT REPLY [Bug 41815] New: - Apache won't start if log file too big
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
DO NOT REPLY [Bug 41815] - Apache won't start if log file too big
Posted by bu...@apache.org.
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
nick@webthing.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From nick@webthing.com 2007-03-11 16:24 -------
Configure it with
CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
In the days of Apache 1.3, 2Gb was still a decent size for your entire hard
disc, and few operating systems and filesystems were built with large file
support (except as a high-end option), so it simply wasn't an issue.
--
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