https://bz.apache.org/bugzilla/show_bug.cgi?id=69704
Bug ID: 69704
Summary: Apache blocks all requests when piped log fails
Product: Apache httpd-2
Version: 2.4.63
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: All
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
I think this happens when the program used in CustomLog returns without
consuming any input. i.e.
CustomLog "|true" ...
There seems to be some inner buffer, after this is filled. Apache blocks all
further requests. In particular this also happens if you use logger to log with
tcp and the server is not reachable.
CustomLog "|logger ..."
I think this is vary dangerous because the server runs fine for some time and
suddenly starts blocking all requests.
I think it would make more sense to discard log messages instead of stopping
serving requests.
To reproduce simply add
CustomLog "|true" ...
while true ; do date ; curl "http://localhost:8080/" ; done
After <1min it starts blocking.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]