Re: [squid-users] delay_pools problem

From: Jose Araujo <jlaraujo@dont-contact.us>
Date: Fri, 27 Sep 2002 15:36:22 +0100

MASOOD AHMAD wrote:

>I have compiled Squid with --enable-delay-pools
>options but it's not working. My delay pools
>configurations are these
>
>acl all src 0.0.0.0/0.0.0.0
> delay_pools 1
> delay_class 1 3
> delay_access 1 allow all
> delay_parameters 1 64000/64000
>
>and when I start it's showning message shown below
>
>

Hi, you are configuring your delay pool as a class 3.

That class uses 3 delay pools, in the following order:

delay_parameters 1 network class_c_network user

the class you seem to want is the class1 that uses only 1 delay pool,
for the entire network.

for example, my config is:

delay_pools 2
delay_class 1 1
delay_class 2 3

delay_access 1 allow work
delay_access 1 deny all
delay_access 2 allow !work
delay_access 2 deny all

delay_parameters 1 -1/-1
delay_parameters 2 48000/64000 -1/-1 16000/64000

delay_initial_bucket_level 75

Hope this helps, you can also read the config file, it is much better
explained there :-)

Jose Araujo

>
>salesproxy# /usr/local/squid/bin/squid -k reconfigure
>FATAL: Bungled squid.conf line 2314:
>delay_parameters 1 64000/64000
>Squid Cache (Version 2.4.STABLE7): Terminated
>abnormally.
>CPU Usage: 0.009 seconds = 0.009 user + 0.000 sys
>Maximum Resident Size: 1332 KB
>Page faults with physical i/o: 0
>Abort (core dumped)
>salesproxy#
>
>any help best regards
>masood Ahmad
>
>
>__________________________________________________
>Do you Yahoo!?
>New DSL Internet Access from SBC & Yahoo!
>http://sbc.yahoo.com
>
>
>
Received on Fri Sep 27 2002 - 08:37:28 MDT

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