Hi everyone!
I ran today to a really strange behavior of squid.
My application (A) opened by mistake a lot of persistent connection to
another application (C) going through a squid (B) for caching purposes.
When I saw the connections I changed that behavior and restarted my
application to start using the new configuration that won't open persistent
connection at all. By doing that all the existing persistent connection from
A to B were closed. But for some reason squid left the persistent connection
to C and was keeping them alive for a REALLY long time.
This if my squid configuration... I couldn't really find something that
would change the default behavior of 2 minutes of timeout for idle
persistent connection. Am I doing something wrong?
http_port 10.0.0.10:8983 accel vhost
http_port 3128
hierarchy_stoplist cgi-bin
acl QUERY urlpath_regex cgi-bin
no_cache deny QUERY
cache_mem 7168 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 4096 KB
minimum_object_size 0 KB
cache_replacement_policy lru
memory_replacement_policy lru
cache_dir diskd /var/cache/squid/1/vol1 20000 100 10
cache_dir diskd /var/cache/squid/1/vol2 20000 100 10
access_log /var/log/squid/1/access.log
cache_log /var/log/squid/1/cache.log
cache_store_log none
cache_swap_log /var/cache/squid/1/
emulate_httpd_log on
log_ip_on_direct off
mime_table /etc/squid/mime.conf
log_mime_hdrs off
pid_filename /var/run/squid/1.pid
log_fqdn off
client_netmask 255.255.255.255
redirect_rewrites_host_header off
auth_param basic children 5
auth_param basic realm OLX Cache Manager
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
refresh_pattern . 0 20% 4320
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl monitor src 10.0.0.100/255.255.255.255
acl web_ports port 8983 8080 80
http_access allow web_ports
http_access allow manager localhost
http_access allow manager monitor
http_access deny manager
acl purge method PURGE
http_access allow purge localhost
http_access allow purge monitor
http_access deny purge
http_access deny all
http_reply_access allow all
icp_access allow all
cache_peer 172.28.1.44 parent 8983 0 no-query originserver login=PASS
cache_mgr infrastructure_at_olx.com
cache_effective_user squid
cache_effective_group squid
visible_hostname solr1.proxy1.olx.com
httpd_suppress_version_string on
icon_directory /usr/local/squid/share/icons
coredump_dir /var/cache/squid/1/
Thank you very much!
Jonathan
-- View this message in context: http://www.nabble.com/persistent-connection-tp25251065p25251065.html Sent from the Squid - Users mailing list archive at Nabble.com.Received on Wed Sep 02 2009 - 03:17:37 MDT
This archive was generated by hypermail 2.2.0 : Wed Sep 02 2009 - 12:00:01 MDT