You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Derek Chen-Becker <db...@cpicorp.com> on 2010/04/22 00:08:13 UTC
[users@httpd] Update on TCP reset issue (kinda fixed)
Well, after a lot of digging and debugging, I found a hack that seems to
fix my issue. If I modify the
srclib/apr/support/unix/waitio.c
file so that the line
timeout = f ? f->timeout / 1000 : s->timeout / 1000;
becomes
timeout = f ? f->timeout / 100 : s->timeout / 100;
(10 times the timeout), then things start working. Unfortunately,
despite my best efforts, I can't figure out
1) where the apr_wait_for_io_or_timeout function is being called that
leads to this timeout
2) what the actual timeout is
3) where I could modify said timeout
Anyone here with some knowledge on the guts of the Unix IO handlers?
Thanks,
Derek
---------------------------------------------------------------------
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] Update on TCP reset issue (kinda fixed)
Posted by Jeff Trawick <tr...@gmail.com>.
On Wed, Apr 21, 2010 at 6:08 PM, Derek Chen-Becker <db...@cpicorp.com> wrote:
> Well, after a lot of digging and debugging, I found a hack that seems to
> fix my issue. If I modify the
>
> srclib/apr/support/unix/waitio.c
>
> file so that the line
>
> timeout = f ? f->timeout / 1000 : s->timeout / 1000;
>
> becomes
>
> timeout = f ? f->timeout / 100 : s->timeout / 100;
>
> (10 times the timeout), then things start working. Unfortunately,
> despite my best efforts, I can't figure out
>
> 1) where the apr_wait_for_io_or_timeout function is being called that
> leads to this timeout
> 2) what the actual timeout is
> 3) where I could modify said timeout
The Timeout directive should control this for client connections.
What is the value of your Timeout directive?
---------------------------------------------------------------------
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