<div dir="ltr">On Mon, Apr 9, 2018 at 4:43 PM, Alex Rousskov <<a href="mailto:rousskov@measurement-factory.com">rousskov@measurement-factory.com</a>> wrote:<br>> On 04/09/2018 06:03 AM, Peter Viskup wrote:<br>>> Running Squid 4.0.23 the ICAP connections getting "frozen".<br>>><br>>> proxy:~ $ netstat -ntpa| grep 40620<br>>> tcp   920144      0 <a href="http://127.0.0.1:40620">127.0.0.1:40620</a>         <a href="http://127.0.0.1:1344">127.0.0.1:1344</a><br>>> ESTABLISHED 1165/(squid-1)<br>>> tcp        0 2744857 <a href="http://127.0.0.1:1344">127.0.0.1:1344</a>          <a href="http://127.0.0.1:40620">127.0.0.1:40620</a><br>>> ESTABLISHED 1211/esets_icap<br>>><br>>> # after ICAP service restart<br>>> proxy:~ $ netstat -ntpa| grep 40620<br>>> tcp   920144      0 <a href="http://127.0.0.1:40620">127.0.0.1:40620</a>         <a href="http://127.0.0.1:1344">127.0.0.1:1344</a><br>>> ESTABLISHED 1165/(squid-1)<br>>> tcp        0 2744858 <a href="http://127.0.0.1:1344">127.0.0.1:1344</a>          <a href="http://127.0.0.1:40620">127.0.0.1:40620</a><br>>> FIN_WAIT1   -<br>>><br>>> # later on - squid still keep the connection open<br>>> proxy:~ $ netstat -ntpa| grep 40620<br>>> tcp   920144      0 <a href="http://127.0.0.1:40620">127.0.0.1:40620</a>         <a href="http://127.0.0.1:1344">127.0.0.1:1344</a><br>>> ESTABLISHED 1165/(squid-1)<br>><br>>> How the ICAP connections are handled?<br>><br>> Is there an HTTP transaction associated with (e.g., waiting for) that<br>> stuck ICAP connection?<br><br>Not found the HTTP transaction associated with.<br><br>> Can you reproduce this problem with a single HTTP transaction? Or does<br>> it take many transactions to get Squid into this state? If you can<br>> easily reproduce, I recommend filing a bug report with an ALL,9 trace of<br>> the problematic transaction attached.<br><br>I can easily reproduce. Will search for the HTTP transaction, but not sure whether I would be able to trace it.<br><br>More information in:<br><a href="https://bugs.squid-cache.org/show_bug.cgi?id=4844">https://bugs.squid-cache.org/show_bug.cgi?id=4844</a><br></div>