You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Filip Kolendo <fi...@primesoft.pl> on 2006/11/14 14:03:57 UTC

Re: Re: [users@httpd] Apache 2.2.3 lots of empty error logs

Hello,

I have exactly the same problem...

Apache 2.0.58
Windows 2003 Svr
PHP 5.0.5 (or 5.1.4) as CGI

I have noticed that empty error lines in errorlog are connected with the 
HTTP result status = 302 Found.
I mean every time the script returns the HTTP header with status code 
302, new line to errorlog is inserted.

Nothing wrong happens except for error log file growing enormously.

I appreciate any hints...

Regards,
Filip


Stan Kaushanskiy wrote:
> I dont think so, because when I use Apache 2.0.52 but keep all of my
> CGIs the same, this issue disappears.
>
> It must be something with apache itself.
>
> thanks,
>
> stan
>
> Steve Swift wrote:
>> One possibility is that one of your CGI's is writing a null line to
>> STDERR.  Can you correlate the times in the error log with the times
>> in the access log to work out the culprit?
>> It might not be your code that is generating the STDERR - I once had a
>> system call that generated a line on stderr even when it worked;
>> fortunately the interface came with a "QUIET" option to suppress all
>> output!
>>
>> On 27/09/06, *Stan Kaushanskiy* <stan@pc-doctor.com
>> <ma...@pc-doctor.com>> wrote:
>>
>>     Hi All,
>>
>>     I am running a cgi program through Apache 2.2.3.
>>
>>     I get the following errors in the apache log:
>>
>>     [Mon Sep 25 18:17:29 2006] [info] [client 127.0.0.1
>>     <http://127.0.0.1>] (OS 10053)An established connection was
>>     aborted by the software in your
>>     host machine.  : core_output_filter: writing data to the network
>>     [Mon Sep 25 18:17:30 2006] [error] [client 127.0.0.1
>>     <http://127.0.0.1>]
>>     [Mon Sep 25 18:18:10 2006] [info] [client 127.0.0.1
>>     <http://127.0.0.1>] (OS 10053)An established connection was
>>     aborted by the software in your
>>     host machine.  : core_output_filter: writing data to the network
>>     [Mon Sep 25 19:01:07 2006] [error] [client 127.0.0.1
>>     <http://127.0.0.1>]
>>     [Mon Sep 25 19:01:17 2006] [error] [client 127.0.0.1
>>     <http://127.0.0.1>]
>>     [Mon Sep 25 19:01:23 2006] [error] [client 127.0.0.1
>>     <http://127.0.0.1>]
>>     [Mon Sep 25 19:01:38 2006] [error] [client 127.0.0.1
>>     <http://127.0.0.1>]
>>     [Mon Sep 25 19:01:49 2006] [error] [client 127.0.0.1
>>     <http://127.0.0.1>]
>>     [Mon Sep 25 19:01:54 2006] [error] [client 127.0.0.1
>>     <http://127.0.0.1>]
>>     [Mon Sep 25 19:02:05 2006] [error] [client 127.0.0.1
>>     <http://127.0.0.1>]
>>     [Mon Sep 25 19:02:10 2006] [error] [client 127.0.0.1
>>     <http://127.0.0.1>]
>>     [Mon Sep 25 19:02:26 2006] [error] [client 127.0.0.1
>>     <http://127.0.0.1>]
>>     [Mon Sep 25 19:02:36 2006] [error] [client 127.0.0.1
>>     <http://127.0.0.1>]
>>     [Mon Sep 25 19:02:42 2006] [error] [client 127.0.0.1
>>     <http://127.0.0.1>]
>>     [Mon Sep 25 19:02:52 2006] [error] [client 127.0.0.1
>>     <http://127.0.0.1>]
>>     [Mon Sep 25 19:02:58 2006] [error] [client 127.0.0.1
>>     <http://127.0.0.1>]
>>     [Mon Sep 25 19:03:13 2006] [error] [client 127.0.0.1
>>     <http://127.0.0.1>]
>>     [Mon Sep 25 19:03:24 2006] [error] [client 127.0.0.1
>>     <http://127.0.0.1>]
>>     [Mon Sep 25 19:03:29 2006] [error] [client 127.0.0.1
>>     <http://127.0.0.1>]
>>     [Mon Sep 25 19:03:40 2006] [error] [client 127.0.0.1
>>     <http://127.0.0.1>]
>>     [Mon Sep 25 19:03:45 2006] [error] [client 127.0.0.1
>>     <http://127.0.0.1>]
>>     [Mon Sep 25 19:04:01 2006] [error] [client 127.0.0.1
>>     <http://127.0.0.1>]
>>     [Mon Sep 25 19:04:11 2006] [error] [client 127.0.0.1
>>     <http://127.0.0.1>]
>>     [Mon Sep 25 19:04:16 2006] [error] [client 127.0.0.1
>>     <http://127.0.0.1>]
>>     [Mon Sep 25 19:04:27 2006] [error] [client 127.0.0.1
>>     <http://127.0.0.1>]
>>     [Mon Sep 25 19:04:32 2006] [error] [client 127.0.0.1
>>     <http://127.0.0.1>]
>>     [Mon Sep 25 19:04:48 2006] [error] [client 127.0.0.1
>>     <http://127.0.0.1>]
>>     [Mon Sep 25 19:04:58 2006] [error] [client 127.0.0.1
>>     <http://127.0.0.1>]
>>     [Mon Sep 25 19:05:04 2006] [error] [client 127.0.0.1
>>     <http://127.0.0.1>]
>>
>>
>>     These logs appear harmless because the clients seem "happy", but 
>> they
>>     are filling up my error log very quickly.
>>
>>     It does not happen one every request, but just about. This happens
>>     with PHP 5.1.6, PHP 5.1.2, and with
>>     a custom CGI compiled from C++.
>>
>>     Prior to 2.2.3 I ran Apache 2.0.52 which did NOT have this problem.
>>
>>     My Setup:
>>     P4 3Ghz HT
>>     1 GB Ram
>>     Windows XP Pro
>>     Apache 2.2.3
>>
>>     any ideas?
>>
>>     thanks,
>>
>>     stan
>>
>>
>>
>>
>>     
>> ---------------------------------------------------------------------
>>     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@httpd.apache.org
>>     <ma...@httpd.apache.org>
>>        "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>     <ma...@httpd.apache.org>
>>     For additional commands, e-mail: users-help@httpd.apache.org
>>     <ma...@httpd.apache.org>
>>
>>
>>
>>
>> -- 
>> Steve Swift
>> http://www.swiftys.org.uk
>
>
> -- 
> Stan Kaushanskiy
> PC-Doctor, Inc.
> 9805 Double R Boulevard, Suite 301
> Reno, NV 89521
> 775-336-4039 (direct)
> stan@pc-doctor.com
>
> CONFIDENTIALITY
> The information contained in this message is confidential. It is 
> intended to be read only by the individual or entity to whom it is 
> addressed or by an authorized designee. If the reader of this message 
> is not the intended recipient, be aware that distribution of this 
> message in any form is strictly prohibited. If you have received this 
> message in error, please immediately notify the sender and destroy any 
> copy of this message.
>
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org