Search squid archive

Re: delay_pool - reload problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/19/05, Leandro Oliveira da Silva <lanso@xxxxxxxxxxx> wrote:
>            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
> 

AFAIK this is a known shortcoming in Squid.
http://www.squid-cache.org/Versions/v2/2.5/bugs/#shortcomings

Currently the developers are working on a patch and I can't wait for
it to be officially applied since the problem arises under other
situations.
http://www.squid-cache.org/bugs/show_bug.cgi?id=500

-- 
Regards.
Abu Khaled


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux