Hi,

seems to be just a firewalling/networking problem. The httpd cannot operate on the protocol stack level since it does not have the right privileges. It could be that your client closes the socket (FIN-ACK), but the the firewall blocks further TCP-packets from the server to your local protocol stack (no ack sent, remote protocol state machine goes to timeout). This could be an anti-scanning/anti-DOS setting in your firewall to prevent that the list of already closed connections may grow too large (close-wait state?)

roman

Frode E. Moe wrote:

Hi again, sorry for the late reply. I just tried disabling KeepAlive, but it did not help much.
I'm still experiencing windows/firefox clients sending FIN+ACK to close
connection mid-download if it receives Content-Type: text/html when it
expects and Accept: image/png;*. This is followed by the server
sending TCP retransmissions. The client sends (only) ONE RST+ACK,
probably to tell the server "no, really, this connection is closed",
which for some reason is ignored by the server. Further TCP
retramissions occur from the server for a while until the server gives
up and finalizes with a RST+ACK sent to the client.

This only happens on a few Windows XP SP2 laptops with firewall enabled.
I've tried reproducing on other Windows XP SP2 installations, with and
without VMWare, as well as various other Linux clients. Even on the
affected machines, whether this happens is hit-or-miss. I'm also getting
reports that disabling the Windows Firewall on the client greatly
reduces the probability of these kinds of hangs, but does not completely
eliminate them.

- Frode

On Tue, Nov 14, 2006 at 09:17:41 -0200, Domingos Parra Novo wrote:
        Hiyas,

Try Disabling "KeepAlive" connections on your apache server (it is enabled by default). Simply edit your "httpd.conf" file, and change the following line:

KeepAlive On

        to:

KeepAlive Off

        And see if it works.

Regards,

Domingos.

Frode E. Moe escreveu:
(Sorry for a rather long email, here's an "executive summary": Windows firewall doesn't reply with RST for TCP retransmissions on a client-closed connection,
causes apache workers to get stuck for 5 minutes)




---------------------------------------------------------------------
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to