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 2012/01/18 08:48:19 UTC
DO NOT REPLY [Bug 52481] New: Rotatelog.exe crashes Apache after
setting 256MB rotatation limit
https://issues.apache.org/bugzilla/show_bug.cgi?id=52481
Bug #: 52481
Summary: Rotatelog.exe crashes Apache after setting 256MB
rotatation limit
Product: Apache httpd-2
Version: 2.2.21
Platform: PC
Status: NEW
Severity: normal
Priority: P2
Component: All
AssignedTo: bugs@httpd.apache.org
ReportedBy: jmbenny@gmail.com
Classification: Unclassified
We found that the rotatelog.exe will crash apache give the following settings
under httpd.conf
CustomLog '|" "*Apache-Path/bin/rotatelogs.exe"
"*Apache-Path/logs/backup/internet_access_%d-%m-%y.log" 86400 256M' combined
The apache hanged after a 15mins stress test with 50 robots.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 52481] Rotatelog.exe crashes Apache after setting
256MB rotatation limit
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52481
--- Comment #4 from Rainer Jung <ra...@kippdata.de> 2012-01-18 23:44:15 UTC ---
Just in case there is confusion: Apache 2.2 only allows one of the two rotation
rules, either size or time based, as stated by Eric and Jeff.
Apache 2.4 allows to combine both, i.e. what ever happens first will rotate the
file. One of the small nice things coming with 2.4. Though this ticket was
opened against 2.2, so yes: please fix your config and try again.
If the problem happens again, please see the questions of Jeff in Comment #1.
Rainer
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 52481] Rotatelog.exe crashes Apache after setting
256MB rotatation limit
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52481
--- Comment #2 from Eric Covener <co...@gmail.com> 2012-01-18 16:54:04 UTC ---
Isn't the syntax wrong, it has time and size. So maybe some buffer gets full
trying to write to the piped logger that is never able to init enough to read
lines.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 52481] Rotatelog.exe crashes Apache after setting
256MB rotatation limit
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52481
Jeff Trawick <tr...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS/Version| |All
--- Comment #1 from Jeff Trawick <tr...@apache.org> 2012-01-18 16:36:19 UTC ---
> The apache hanged after a 15mins stress test with 50 robots.
A crash is one thing, a hang is quite another. Did the error log have anything
about a child process exiting and being restarted?
Secondly, what files (and sizes) had been created or written to by rotatelogs
at the time the hang was detected?
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 52481] Rotatelog.exe crashes Apache after setting
256MB rotatation limit
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52481
--- Comment #3 from Jeff Trawick <tr...@apache.org> 2012-01-18 17:29:28 UTC ---
That's right about the syntax; "256M" is taken as the UTC offset.
Benny, please fix the syntax (leave only the rotation time OR the rotation
size) and see how that works.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org