logging error-notes of Apache - is it advisable?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,
Recently we noticed that Apache (2.0.59) on RHEL 3 as a forward proxy
stops responding for a few minutes and then recovers on its own.
We have MaxRequestsPerChild to 9000 and the occurrence is random
(fortunately over weeks)
In the error log we get the lines for the time period where Apache
stopped responding:

[Tue Mar 20 09:40:01 2007] [error] [client 81.207.47.250] request
failed: error reading the headers, referer:
http://by126w.bay126.mail.live.com/mail/mail.aspx


Looking at the source code, we find that this error is reported from
protocol.c - after calling ap_get_mime_headers_core(r, tmp_bb); method.
In this method we see that Apache is writing the error to r->notes
("error-notes") than the error log.

So we are clueless what made Apache to return this error message.

>From the mod_log_config module we see that we can log the same by using

 
 % {error-notes} N  

to the log format string.

Is it wise to add the "% {error-notes} N" to the log format? 
It is a production server with 15,000 users on it.

We would like to see what the reason for this error is in the error log.

Can any of you suggest us the direction to look in to?

Thanks and Regards,
Ganesh


***********************************************************************
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this 
message by anyone else is unauthorized. If you are not the 
intended recipient, any disclosure, copying, or distribution of the 
message, or any action or omission taken by you in reliance on 
it is prohibited and may be unlawful. Please immediately contact 
the sender if you have received this message in error. This email 
does not constitute any commitment from Cordys Holding BV or 
any of its subsidiaries except when expressly agreed in a written 
agreement between the intended recipient and 
Cordys Holding BV or its subsidiaries.
***********************************************************************



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux