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