Re: [squid-users] trying to track down a bug

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 21 Jan 2005 23:48:27 +0100 (CET)

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
Received on Fri Jan 21 2005 - 15:48:29 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 07 2005 - 12:59:36 MST