- mod_status shows loads of weird lines, eg:
29-1 - 0/0/1 . 0.00 10322 28 0.0 0.00 0.00 x.y.z.a (unavailable) GET /reports/latest.html HTTP/1.0 30-1 - 0/0/1 . 0.00 10312 34 0.0 0.00 0.00 x.y.z.a (unavailable) GET /cgi-bin/certificate.cgi/732.gif HTTP/1.1
- eventually the number of these reaches MaxClients, wedging the server
- hung process backtrace like this:
(gdb) bt #0 0x28129b0f in write () from /lib/libc.so.5 #1 0x281babb7 in config_log_transaction () from /usr/local/libexec/apache/mod_log_config.so #2 0x281bac24 in multi_log_transaction () from /usr/local/libexec/apache/mod_log_config.so #3 0x08051e9e in run_method () #4 0x08051f3e in ap_log_transaction () #5 0x080628e6 in ap_process_request () #6 0x0805b6ca in child_main () #7 0x0805b8e5 in make_child () #8 0x0805bb9b in perform_idle_server_maintenance () #9 0x0805c09c in standalone_main () #10 0x0805c613 in main ()
Which leads me to this nugget one of the <VirtualHost> blocks:
CustomLog | /dev/null
Classy! It’s stranger still since it’s next to a CustomLog directive that does indeed log to disk
Leave a Reply
Recent articles
- Docker, SELinux, Consul, Registrator
(Wednesday, 04. 29. 2015 – No Comments) - ZFS performance on FreeBSD
(Tuesday, 09. 16. 2014 – No Comments) - Controlling Exim SMTP behaviour from Dovecot password data
(Wednesday, 09. 3. 2014 – No Comments) - Heartbleed OpenSSL vulnerability
(Tuesday, 04. 8. 2014 – No Comments)
Archives
- April 2015
- September 2014
- April 2014
- September 2013
- August 2013
- March 2013
- April 2012
- March 2012
- September 2011
- June 2011
- February 2011
- January 2011
- October 2010
- September 2010
- February 2010
- September 2009
- August 2009
- January 2009
- September 2008
- August 2008
- July 2008
- May 2008
- April 2008
- February 2008
- January 2008
- November 2007
- October 2007
- September 2007
- August 2007
- December 2006
- November 2006
- August 2006
- June 2006
- May 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- October 2005