[squid-users] Large acl regex causes Squid to use all memory on startup

From: Daniel T. Gynn <dan.gynn@dont-contact.us>
Date: Thu, 16 Dec 2004 01:20:38 -0500

I have an acl file that has about 500,000 lines in it. I'm declaring it
as a dstdom_regex type of acl. When I try to start Squid, I see "Out of
Memory: Killed process <pid> (squid)." in my messages log. It also
says "Failed to create unlinkd subprocess". I am running Squid version
2.5.STABLE3 on RHEL 3. The system has 2 2.8Ghz Xeons and 2GB RAM. On
startup I see the available memory go way down and then I get the
messages. It works for another ACL that has 500,000 IP addresses in it
declared as type dst. It seems like it is doing some processing for the
regex part. Is there a way that I can get this to startup?

Dan

-- 
-----------------------
Daniel T. Gynn
RHCE #806200978201621
Essential Systems, Inc.
412-931-5403 ext. 1
fax: 412-931-5425
dan.gynn@essensys.com
GnuPG Key http://www.essensys.com/~dan/gpgring.asc
Fingerprint: 0979 73B8 847A 349E 7363  66F4 6A79 DD72 495D CD60
Received on Wed Dec 15 2004 - 23:22:20 MST

This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:02 MST