Re: [squid-users] Squid opens too much icap connections

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Tue, 02 Mar 2010 20:41:19 +0100

tis 2010-03-02 klockan 00:45 -0800 skrev akinf:
> have implemnted a icap server, and configured squid to forward request to
> this server.
> Everything works fine but, Squid opens too much icap connections and exhaust
> my filedescriptors.

How many?

Is those connections all idle and Squid continues to open new
connections?

A possible reason is if the ICAP server is not finishing the ICAP
responses properly. Squid then waits for more data and can not reuse the
connection on next request.

You can also try "icap_persistent_connections off", but this will only
make Squid close idle ICAP connections immediately while still needing
the same amount of connections when under load (traffic dependent) and
is not recommended.

Regards
Henrik
Received on Tue Mar 02 2010 - 19:38:49 MST

This archive was generated by hypermail 2.2.0 : Wed Mar 03 2010 - 12:00:02 MST