Re: [squid-users] delay_pools configuration Unable to unlimited the local traffic

From: Henrik Nordstrom <hno@dont-contact.us>
Date: 31 Jan 2003 14:07:16 +0100

try this

delay_access 1 allow student !weblocal
delay_access 2 allow admin !weblocal

and delete your '3' pool. It is not needed as it is the same as no delay
pool.

The delay_access parameter should probably be restructured to be a
ordered list of access directives like tcp_outgoing_address etc, but at
the moment it is sorted per delay pool and evaluated in numeric order
with the first pool which matches the request being used.

Regards
Henrik

fre 2003-01-31 klockan 11.06 skrev zulkarnain:
> YES, I've put "deny all" in delay_access. But it still
> not work. Here is my delay_pools config:
>
> # ---- custom acl
> acl no_limit url_regex -i 192.168.1
> acl admin_site src 192.168.1.16/255.255.255.240
> acl student_site src 192.168.1.192/255.255.255.224
>
> # ---- subnet that will not be cached
> acl weblocal dst 192.168.1.16/28
> no_cache deny weblocal
>
>
> # ---- begin delay_pool
> delay_pools 3
>
> delay_class 1 2
> delay_class 2 2
> delay_class 3 2
>
> delay_access 1 allow student
> delay_access 1 deny all
> delay_access 2 allow admin
> delay_access 2 deny all
> delay_access 3 allow no_limit
> delay_access 3 deny all
>
> # student group
> delay_parameters 1 48000/48000 1250/3000
>
> # admin group
> delay_parameters 2 48000/48000 3000/6000
>
> # no limits for local traffic
> delay_parameters 3 -1/-1 -1/-1
>
>
> Did I miss something Henrik?
>
> best regards,
> zulkarnain
>
> --- Henrik Nordstrom <hno@squid-cache.org> wrote:
> > zulkarnain wrote:
> > >
> > > Do you know how to test the cache hits if its
> > excluded
> > > from delaypools?
> > >
> > > I've create a dst type acl for my local website,
> > but I
> > > think it doesn't work. the acl is:
> > >
> > > # ---- subnet that will not be cached
> > > acl weblocal dst 192.168.1.16/28
> > > no_cache deny weblocal
> > >
> > > I know it doesn't work because when I try to
> > download
> > > a big file from anothe pc on the same subnet, I
> > got
> > > only 10kbps. without delay_pools I got 270kbps.
> >
> >
> > no_cache does not stop a request from being delayed
> > by delay pools, only
> > from being cached.
> >
> > To not have an request delayed by delay pools it
> > needs to be denied from
> > all delay pools in delay_access.
> >
> > Regards
> > Henrik
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com

-- 
Henrik Nordstrom <hno@squid-cache.org>
MARA Systems AB, Sweden
Received on Fri Jan 31 2003 - 06:07:26 MST

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