[squid-users] Delay pools configuration

From: Simon Bryan <sbryan@dont-contact.us>
Date: Mon, 10 Mar 2003 10:00:40 +1100

Hi all,
Whenever I turn on my delay pools it seems that everyone gets slowed down ie
they are going into the 'slow' group of users.
The relevant conf lines are below, can anyone spot what is wrong? The file
'data_exceed.out' is populated by a php script that runs across the
squidalyser database, at the moment it is empty. I have added other commetns
to inidcate what I thought each line would do. BTW is there anyway to see in
the logs if users are being put into a delay pool?

#DELAY_POOLS

#These are the ip addresses of all our local servers as well as the NETBIOS
names of the Windows ones and our web URL's
#There may be a more efficient way of doing this.

acl local_servers dstdomain 10.192.0.10 10.192.0.11 10.192.0.12 10.192.0.13
10.192.0.14 10.192.0.15 10.192.0.16 10.192.0.17 10.192.0.18 10.192.0.21
genesis revelation voyager www.olmc.nsw.edu.au olmc.nsw.edu.au
student.olmc.nsw.edu.au ds9.olmc.nsw.edu.au sg1.olmc.nsw.edu.au
kirk.olmc.nsw.edu.au

#We use 10.192.0.0 netmask 255.255.254 - server are in the 10.192.0.1 -
10.192.0.254 range all workstations are 10.192.1.1 or higher.
acl our_networks src 10.192.1.0

acl overused proxy_auth "/usr/local/squid/etc/output_files/data_exceed.out"

delay_pools 2

#First delay pool
delay_class 1 1
delay_parameters 1 -1/-1

#don't let anyone listed in the 'data_exceed.out' file use this delay pool
delay_access 1 deny overused

#unless they are going to a local server - hmmmmm should these two be the
other way around?
delay_access 1 allow our_networks

#Second delay pool.
delay_class 2 2
delay_parameters 2 3600/3600 3600/3600

#never slow down access to our local servers
delay_access 2 deny local_servers

#restrict the bandwidth of anyone listed in the 'data_exceed.out' file.
delay_access 2 allow overused

_________________________________________
Simon Bryan
IT Manager
OLMC Parramata
ICQ#: 137562751
_________________________________________
Received on Sun Mar 09 2003 - 16:00:36 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:13:58 MST