Gavin McCullagh wrote:
Hi,
we're running the packaged Squid on Ubuntu LTS (2.6.18-1ubuntu3).
I've configured squid with a delay pool as follows:
acl accommclients_old src 10.2.0.0/16
acl accommclients src 172.17.0.0/20
acl studentclients src 172.18.0.0/16
acl studentwificlients src 172.19.0.0/23
acl summerschoolclients src 172.19.4.0/24
delay_pools 1
delay_class 1 1
delay_access 1 allow accommclients accommclients_old studentclients
studentwificlients
delay_access 1 deny all
delay_parameters 1 2500000/2500000
which I thought would limit all of those IP ranges (together) to
2.5MByte/sec, ie 20Mbit/sec.
However, the other day, we found squid consuming over 40Mbit/sec. This was
mostly down to one individual user who was within the 172.17/20 range who
was consuming well over 30Mb/sec.
I presume I'm doing something wrong. Could someone point out my mistake or
suggest something I should look at?
Gavin
See
http://wiki.squid-cache.org/SquidFaq/SquidAcl#Common_Mistakes
The YOU/ME example mistake is exactly the one you have made above.
Amos
--
Please be using
Current Stable Squid 2.7.STABLE7 or 3.0.STABLE19
Current Beta Squid 3.1.0.14