You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Chris <ch...@eehmke.de> on 2010/10/27 12:49:52 UTC
[users@httpd] (104)Connection reset by peer: core_output_filter: writing data to the network
I know I am not the first to ask this question, but I really searched a
lot and got no solution.
I have a CGI application written in C++ running on my Apache 2.2.9
server, hosted on a Debian Lenny system. The application runs fine most
of the time, only when I do a special download of a simple text file (in
CSV format) the file is not downloaded and the above message appears in
the error.log. Other files in the same format download w/o problem.
The application itself seems to run fine too, internal tracing showed
me the file in question is generated correctly. It only might be that
the process takes one or two seconds longer than usual, because a lot of
mysql queries have to be executed. But as told before, this works, only
the file never is downloaded.
Now I am at the end of my wits and would ask for hints how to track
down this issue? I have full control of the server (actually the same
problem happens when I run the application on localhost, which is a
Gentoo system) and of the application source code, so I can build test
versions with debug statements embedded.
Regards, Chris
---------------------------------------------------------------------
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
Re: [users@httpd] (104)Connection reset by peer: core_output_filter:
writing data to the network
Posted by Eric Covener <co...@gmail.com>.
On Wed, Oct 27, 2010 at 6:49 AM, Chris <ch...@eehmke.de> wrote:
> I know I am not the first to ask this question, but I really searched a lot
> and got no solution.
>
> I have a CGI application written in C++ running on my Apache 2.2.9 server,
> hosted on a Debian Lenny system. The application runs fine most of the time,
> only when I do a special download of a simple text file (in CSV format) the
> file is not downloaded and the above message appears in the error.log. Other
> files in the same format download w/o problem.
>
> The application itself seems to run fine too, internal tracing showed me the
> file in question is generated correctly. It only might be that the process
> takes one or two seconds longer than usual, because a lot of mysql queries
> have to be executed. But as told before, this works, only the file never is
> downloaded.
>
> Now I am at the end of my wits and would ask for hints how to track down
> this issue? I have full control of the server (actually the same problem
> happens when I run the application on localhost, which is a Gentoo system)
> and of the application source code, so I can build test versions with debug
> statements embedded.
If the client is giving up on reading the data due to time, and
nothing else is wrong with the headers/body, try either sending the
data back periodically or spawning another thread to trickle back
undisplayed data to keep the client interested in hanging around (like
the pages you see on travel sites).
> Regards, Chris
>
> ---------------------------------------------------------------------
> 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
>
>
--
Eric Covener
covener@gmail.com
---------------------------------------------------------------------
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