RE: [squid-users] Startup fails

From: Chris Robertson <crobertson@dont-contact.us>
Date: Thu, 8 Sep 2005 09:03:38 -0800

>>> -----Original Message-----
>>> From: Bob Ambroso [mailto:BAmbroso@whittierch.org]
>>> Sent: Thursday, September 08, 2005 7:46 AM
>>> To: squid-users@squid-cache.org
>>> Subject: [squid-users] Startup fails
>>>
>>>
>>> I have a basic squid install and I added an acl that uses a list of
>>> banned sites. The list is quite comprehensive (say 7mb) and when squid
>>> tries to start it chugs along then fails with kerneL out of memory..
>>>
>>> The machine I am using is a PII with 384 megs of ram. When I use top I
>>> can see that while it is starting squid will use most of the ram
>>> (289-369 mb's of ram) till it fails... Without the text file
>>> it start up
>>> no problem.. I created the list using MS notepad (not sure if that is
>>> what is causing the problem but thought I would throw it out
>>> there..) I
>>> have tweaked some of the default settings without any luck.
>>>
>>> \Bob
>>>
>>> Bob Ambroso
>>> Whittier Public Library
>>> 7344 S. Washington Ave
>>> Whittier, CA 90602
>>> (562) 464-3452
>>
>> -----Original Message-----
>> From: Chris Robertson [mailto:crobertson@gci.com]
>> Sent: Thursday, September 08, 2005 9:44 AM
>> To: squid-users@squid-cache.org
>> Subject: RE: [squid-users] Startup fails
>>
>> What does kind of ACL are you using to call this file?
>> "url_regex" (or
>> indeed anything involving regex) would be very bad in this case.
>>
>> Chris
>>
>
> -----Original Message-----
> From: Bob Ambroso [mailto:BAmbroso@whittierch.org]
> Sent: Thursday, September 08, 2005 8:54 AM
> To: Chris Robertson
> Subject: RE: [squid-users] Startup fails
>
>
> Indeed it is url_regex....
> What should I do to control access to banned sites using this type of
> text file?
> \Bob
>

Please reply to the list. There are others out there who may have more accurate information than I.

Use dstdomain instead of url_regex. You might also want to read the FAQ section on ACLs (http://www.squid-cache.org/Doc/FAQ/FAQ-10.html).

Chris
Received on Thu Sep 08 2005 - 11:03:42 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Oct 01 2005 - 12:00:03 MDT