Re: [squid-users] Delay Pools don't work

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 23 Jun 2011 01:08:42 +1200

On 22/06/11 20:36, Romag wrote:
> Hi at all,
> i need to limit the bandwith of my subnet (10 subnet) and i try to use
> Delay Pool for this..if i use a Delay Pool for all the net it's works
> very well, but if i specify a ACL for any subnet the limit don't
> work..
>
> My stub of configuration is:
>
> acl SUBNET1 src IP/SUBNET
> acl SUBNET2 src IP/SUBNET
>
> delay_pools 1
> delay_class 1 3
> delay_access 1 allow SUBNET1
> delay_access 1 deny all
> delay_parameters 1 64000/64000 -1/-1 16000/64000

whole network bandwidth is limited to 64,000 bytes/sec (note that is
bytes) shared between all machines listed in SUBNET1 ACL.

No limitation on /24 subnet.

any one machine (/32) is allowed to consume up to 16000 bytes/sec from
the Internet.

>
> But the bandwith is not limited.. i need to limit some subnet to 1Mbps
> and some to 2Mbps and no limit for localnet.
>
> Thanks!

By "dont work" you mean what?
  NP: keeping in mind that delay_pool only affects traffic fetched from
peers or DIRECT from origins. Cache HIT are not delayed.

Which version of Squid are you using ?

Are you sure the machine IP is in SUBNET1 ?
  (sorry if that seems dumb, but it happens sometimes that testers are
using localhost and trying to match global IPs. Or the reverse)

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.12
   Beta testers wanted for 3.2.0.9 and 3.1.12.3
Received on Wed Jun 22 2011 - 13:08:47 MDT

This archive was generated by hypermail 2.2.0 : Wed Jun 22 2011 - 12:00:03 MDT