[squid-users] delay_pools problem

From: kfliong <kfliong@dont-contact.us>
Date: Thu, 23 Dec 2004 16:13:00 +0800

Hi,

I tried to use delay_pools to control the speed of some users but somehow
it doesn't work. Particularly delay_access 5. Those users in delay_access 5
need to be running at only 1k/s but somehow this speed limit is not
imposed. Please help.

Here is my squid.conf for delay_pool :

delay_pools 5

delay_class 1 2
delay_class 2 2
delay_class 3 2
delay_class 4 2
delay_class 5 1

delay_access 1 allow local_access
delay_access 1 deny all

#delay_access 2 for fast_user and sites
delay_access 2 allow fast_user
delay_access 2 allow high_speed !slow_user2
delay_access 2 allow fast_sites !slow_sites
delay_access 2 deny all

#delay_access 3 for mid_speed users
delay_access 3 allow mid_speed !slow_user2
delay_access 3 deny all

#delay_access 4 for low_speed and slow sites
delay_access 4 allow low_speed !slow_user2
delay_access 4 deny all

#delay_acess 5 for very slow speed
delay_access 5 allow slow_sites
delay_access 5 allow slow_user2
delay_access 5 deny all

delay_parameters 1 -1/-1 -1/-1
delay_parameters 2 64000/64000 32000/32000
delay_parameters 3 32000/32000 18000/25000
delay_parameters 4 8000/8000 3750/3750
delay_parameters 5 1000/1000

Is the settings correct or wrong?
Received on Thu Dec 23 2004 - 01:18:14 MST

This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:03 MST