On Fri, 21 Jan 2005, Robert Borkowski wrote:
2) Clients disconnecting rudely, and the OS not detecting the abort in a timely manner. This is our situation. Solaris managed to detect the abort, and Linux does not.
Linux does detect it by a retransmission timeout, but the defaults are quite long for a web server... You can tune these in /proc/sys/net/. See the kernel documentation networking/ip-sysctl.txt for details on the available parameters)
These two different environments seem to demand two different sets of read/write logic. In the case of the reverse proxy, READ_AHEAD_GAP should be tunable in squid.conf, and it should be possible to disable deferred reads entirely.
READ_AHEAD_GAP is already made a tuneable in Squid-3 for this exact reasons.
Regards Henrik
