[squid-users] Delay Pool cause delay in response

From: Farooq Bhatti <farooq_at_n4networks.net>
Date: Thu, 3 Jan 2013 20:43:24 +0500

Hi all,

I am using with following compilation.

[root_at_staffproxy ~]# squid -v
Squid Cache: Version LUSCA_HEAD-r14809
configure options:� '--prefix=/usr' '--exec-prefix=/usr'
'--bindir=/usr/sbin' '--libexecdir=/usr/lib/squid' '--localstatedir=/var'
'--sysconfdir=/etc/squid' '--enable-delay-pools' '--disable-arp-acl'
'--enable-linux-netfilter' '--enable-large-cache-files'
'--enable-cache-digests' '--enable-external-acl-helpers=ip_user'
'--disable-ident-lookups' '--enable-removal-policies=heap,lru'
'--enable-snmp' '--disable-ssl' '--enable-storeio=aufs,coss'
'--enable-err-languages=English' '--with-aio' '--with-maxfd=1048576'
'--with-dl' '--with-pthreads' '--with-large-files' '--disable-unlinkd'

I discovers that when I enable the delay pool in my configuration which
looks like

==========
delay_pools 1
delay_class 1 2
acl downloads url_regex -i .mp3 .avi .mpeg .wmv .exe .zip .dat .rm .rmvb
.mpg .mp4 .3gp .qt .wma .mov .ram .rar .mpe .iso .doc$ .tar .rpm .msi .flv
.swf .torrent .bin .tar.gz .deb .tar.bz .nrg .asf .vcd .yps .gam .img .cdi
.mdf .lcd .vob .wim .3gpp .3gpp2 .asx .avs .az .divx .hdmov .m2p .ogm .rts
.rtsp .rv .vid .wm .psf .7z .cab
delay_access 1 allow downloads
delay_access 1 deny all
delay_parameters 1 128000/128000 -1/-1
+++++++++++++++++++++++++++++++++++++

I got very delay response to the sites of advertisement in particular and
the other site in general. But when I remove the delay pool the squid
response to the browser tremendously increase.

Further I am using "xfs" as file system for my cache with Disk I/O scheduler
of deadline.

Please help me resolve this.

BR
Farooq
Received on Thu Jan 03 2013 - 15:42:21 MST

This archive was generated by hypermail 2.2.0 : Fri Jan 04 2013 - 12:00:03 MST