[squid-users] delay_pool - reload problem

From: Leandro Oliveira da Silva <lanso@dont-contact.us>
Date: Tue, 19 Jul 2005 17:28:27 -0300

            Hi all !

            I'm using squid with:

Squid Cache: Version 2.5.STABLE6
configure options: i586-mandrake-linux-gnu --program-prefix= --prefix=/usr
--exec-prefix=/usr --bindir=/usr/sbin --sbindir=/usr/sbin
--sysconfdir=/etc/squid --datadir=/usr/share --includedir=/usr/include
--libdir=/usr/lib --libexecdir=/usr/lib/squid --localstatedir=/var
--sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info
--enable-poll --enable-snmp --enable-removal-policies=heap,lru
--enable-storeio=aufs,coss,diskd,ufs,null --enable-useragent-log
--enable-referer-log --enable-cachemgr-hostname=localhost --enable-truncate
--enable-underscores --enable-carp --enable-async-io --enable-htcp
--enable-delay-pools --enable-linux-netfilter --enable-ssl --enable-arp-acl
--enable-auth=basic,digest,ntlm
--enable-basic-auth-helpers=winbind,multi-domain-NTLM,getpwnam,YP,SMB,PAM,NC
SA,MSNT,LDAP --enable-ntlm-auth-helpers=SMB,fakeauth,no_check,winbind
--enable-digest-auth-helpers=password
--enable-external-acl-helpers=ip_user,ldap_group,unix_group,wbinfo_group,win
bind_group --enable-follow-x-forwarded-for --with-pthreads
--with-winbind-auth-challenge --disable-dependency-tracking
--disable-ident-lookups

            This is the default mandrake 10.1 installation. I've configured
delay pools in my server and it works fine, but I have to reload the squid
from time to time so as to update some ips, restrictions etc from a system
that update the squid.conf. The problem is that when i reload the squid, the
actual download that was being restricted by delay_pool looses the
restriction and is no longer limited to the speed of the pool.
            Is there a way so as to reload the squid and NOT to loose the
delay_pool restriction in the already opened connections ( downloads ) ?

Here is my delay_pool conf:

acl adm_net src "/etc/squid/adm_net.txt"
acl free_download src "/etc/squid/free_download.txt"
acl downloads url_regex -i "/etc/squid/downloads.ext"

delay_pools 1

delay_class 1 1

delay_access 1 deny free_download
delay_access 1 deny !adm_net
delay_access 1 allow downloads
delay_access 1 deny all
delay_parameters 1 5000/5000

            Any ideias ?

            Thanks
            Leandro
Received on Tue Jul 19 2005 - 14:35:35 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Aug 01 2005 - 12:00:02 MDT