[squid-users] Squid 2. Squid 2.6.STABLE16 delay (pools) problem

From: Santosh Rani <santoshballey@dont-contact.us>
Date: Sun, 18 Nov 2007 11:29:00 +0530

Hello Sirs,

Operating System : WindowsXP with SP2
Intel 3.0 GHz

I have some problem with delay pools partially working in Squid 2.6.STABLE16.
I have an acl named STRINGS_SLOW that is meant to slow down access to
certain file types which are generally large in size but Squid does
not obey the delay parameters as specified by me.

This acl has been assigned delay parameter 3 but is taking the
download speed of
delay parameter 1. All files with extension as listed in STRINGS_SLOW
should download at speed of 4000 whereas it downloads at 10000.

This was not a problem with Squid 2.6.STABLE13 or 14.

Am I wrong somewhere in defining the delay pools?

acl STRINGS_SLOW urlpath_regex \.jpeg$ \.jpg$ \.sis$ \.axf$ \.bmp$
\.xls$ \.exe$ \.swf$ \.axf$ \.avi$ \.tar.gz$ \.dat$ \.gz$ \.vbs$
\.iso$ \.mov$ \mp3$ \.mp3$ \.mp4$ \.avi$ \.mpe$ \.mpg$ \.mpeg$ \.asf$
\.wav$ \.ogg$ \.rar$ \.arj$ \.ram$ \.raw$ \.rpm$\.rm$ \.mov$ \.zip$
\.vqf$ \.tar$ \.qt$ \.wav$

acl THIS_SIDE src 192.168.x.x 192.168.x.x 192.168.x.x 192.168.x.x 192.168.x.x

acl OTHER_SIDE src 192.168.x.x 192.168.x.x 192.168.x.x 192.168.x.x 192.168.x.x

My delay pools:

delay_pools 4

delay_class 1 3 echo # pool 1 is a class 2 pool
delay_class 2 1 echo # No bandwidth restrictions (acl
LOCALUSERS ;local traffic)
delay_class 3 3 echo # pool 3 is a class 2 pool of low bandwidth
delay_class 4 3 echo # pool 3 is a class 2 pool of low bandwidth

delay_access 1 allow THIS_SIDE
delay_access 4 allow OTHER_SIDE
delay_access 2 allow LOCALUSERS
delay_access 3 allow STRINGS_SLOW

delay_parameters 1 40000/40000 30000/30000 10000/20000
delay_parameters 2 -1/-1 -1/-1
delay_parameters 3 30000/30000 15000/15000 4000/10000

delay_parameters 4 40000/40000 30000/30000 10000/10000

Best Regards
Received on Sat Nov 17 2007 - 22:59:03 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 01 2007 - 12:00:02 MST