Re: [squid-users] RE: performance tuning - http-accel & timeouts

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Tue, 28 Feb 2006 11:03:52 +0100

mån 2006-02-27 klockan 14:07 -0800 skrev Gregori Parker:
> Just wondering if anyone has any tips on tuning the timeout settings for
> Squid in http-accel mode.

There isn't very much to say about the timeouts. The defaults is pretty
reasonable.

If you have problem with unreliable backend servers then you may want to
tune down the connect_timeout to make Squid give up sooner.

And you probably want the following

  half_closed_clients off
  client_persistent_connections off

the first speeds up detection of aborted requests.

the second gives a general speed boost of the proxy at the cost of a
somewhat higher latency. not using persistent connections equals to
considerably less amount of open connections, which without epoll/kqueue
is a major performance booster when under high load..

Regards
Henrik

Received on Tue Feb 28 2006 - 03:04:00 MST

This archive was generated by hypermail pre-2.1.9 : Wed Mar 01 2006 - 12:00:04 MST