<div dir="ltr">I'm using squid with a custom icap service. (Which code I plan to free)<br clear="all"><div><br></div><div><div>http_port 3129 tproxy disable-pmtu-discovery=always<br></div><div><br></div><div>collapsed_forwarding on</div><div><br></div><div>dns_v4_first on</div><div>max_filedescriptors 8192<br></div><div>connect_retries 10</div><div>retry_on_error on</div><div>client_request_buffer_max_size 10250 KB<br></div><div>request_header_max_size 10240 KB</div><div><br></div><div>http_access allow manager localhost<br></div><div>http_access deny manager</div><div>http_access allow all</div><div><br></div><div>maximum_object_size 800 MB<br></div><div>maximum_object_size_in_memory 32 KB</div><div>cache_swap_low 90</div><div>cache_swap_high 95</div><div><br></div><div>#Server has 16Gb RAM</div><div>cache_mem 738 MB<br></div><div><br></div><div>cache_dir aufs /cache/sdb 228138269 16 256 min-size=1 max-size=838860800<br></div><div><br></div><div>buffered_logs off<br></div><div><br></div><div>icap_enable on</div><div>icap_send_client_ip on</div><div>icap_persistent_connections on</div><div>icap_preview_enable off</div><div><br></div><div>icap_206_enable off<br></div><div><br></div><div>icap_service service_reqmod  reqmod_precache  icap://<a href="http://127.0.0.1:50020/request" target="_blank">127.0.0.1:50020/request</a>  bypass=0 max-conn=100 ipv6=off</div><div>icap_service service_respmod respmod_precache icap://<a href="http://127.0.0.1:50020/response" target="_blank">127.0.0.1:50020/response</a> bypass=0 max-conn=100 ipv6=off</div><div><br></div><div>acl html Content-Type -i html<br></div><div>adaptation_access service_respmod allow html<br></div><div>respmod_rep_header</div><div>adaptation_access service_reqmod allow all</div><div><br></div><div># DEFAULT REFRESH PATTERNS<br></div><div>refresh_pattern -i (/cgi-bin/|?)    0    0%        0</div><div>refresh_pattern .                    0   20%     4320</div><div><br></div><div>acl queries url_regex -i http://.*\?.*</div><div>acl queries url_regex -i http://.*/cgi-bin/.*</div><div><br></div><div>cache deny queries</div><div>cache allow all</div><div><br></div><div>client_persistent_connections on<br></div><div>server_persistent_connections on</div><div><br></div><div>debug_options ALL,0</div><div><br></div><div>I see the (squid-1) process RAM use slowly increasing. It's never going down. Ultil squid cannot allocate more memory and crashes.</div></div><div><br></div><div>Could be the icap client functionality ?</div><div><br></div><div><br></div>-- <br><div>Alfrenovsky</div>
</div>