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

From: zulkarnain <sizulku@dont-contact.us>
Date: Fri, 31 Jan 2003 02:06:34 -0800 (PST)

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
Received on Fri Jan 31 2003 - 03:06:39 MST

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