assertion failed in delay_pools.c

From: Chris Dillon <cdillon@dont-contact.us>
Date: Mon, 13 Mar 2000 10:29:53 -0600 (CST)

I'm getting the following assertion failure quite often with
2.3-STABLE2 on FreeBSD 3.4-STABLE:

assertion failed: delay_pools.c:423: "i < IND_MAP_SZ"

Squid was compiled from the FreeBSD ports collection, which includes
the following patches:
squid-2.3.stable2-EOF_in_cf.data.pre.patch
squid-2.3.stable2-USE_DNSSERVER.patch

And I used the following configure arguments in addition to the port
defaults:
--enable-delay-pools
--enable-heap-replacement

My delay pools are configured as follows:

acl NODELAYSRC src "/usr/local/etc/squid/acls/NODELAYSRC"
acl NODELAYSITES dstdom_regex -i "/usr/local/etc/squid/acls/NODELAYSITES"
acl SUPERSLOWSITES dstdom_regex -i "/usr/local/etc/squid/acls/SUPERSLOWSITES"
acl SUPERSLOWSRC src "/usr/local/etc/squid/acls/SUPERSLOWSRC"
acl SLOWSITES dstdom_regex -i "/usr/local/etc/squid/acls/SLOWSITES"
acl MULTIMEDIA urlpath_regex -i "/usr/local/etc/squid/acls/MULTIMEDIA"

delay_pools 3

delay_class 1 2
delay_parameters 1 -1/-1 4096/4096
delay_access 1 allow SUPERSLOWSRC
delay_access 1 allow SUPERSLOWSITES
delay_access 1 deny all

delay_class 2 3
delay_parameters 2 32768/32768 16384/16384 4096/8192
delay_access 2 deny NODELAYSRC
delay_access 2 deny NODELAYSITES
delay_access 2 allow MULTIMEDIA
delay_access 2 allow SLOWSITES
delay_access 2 deny all

delay_class 3 2
delay_parameters 3 -1/-1 10240/65536
delay_access 3 deny NODELAYSRC
delay_access 3 deny NODELAYSITES
delay_access 3 allow all

So, nearly all traffic will flow through one delay pool or another.

I probably don't need to show the actual ACL files, but SUPERSLOWSITES
is empty at the moment and Squid complains and then ignores it. The
same setup worked just fine with 2.2-STABLE5. The only difference
between the config file I'm using now and the 2.2 config file was the
modification of the cache_dir line to add the cache_dir type, and to
specify use of the new LFUDA replacement algorithm.

-- Chris Dillon - cdillon@wolves.k12.mo.us - cdillon@inter-linc.net
   FreeBSD: The fastest and most stable server OS on the planet.
   For Intel x86 and Alpha architectures. ( http://www.freebsd.org )
Received on Mon Mar 13 2000 - 09:33:33 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:52:05 MST