RE: [squid-users] Startup fails

From: Sturgis, Grant <Grant.Sturgis@dont-contact.us>
Date: Thu, 8 Sep 2005 11:26:49 -0600

> -----Original Message-----
> From: Bob Ambroso [mailto:BAmbroso@whittierch.org]
> Sent: Thursday, September 08, 2005 11:20 AM
> To: squid-users@squid-cache.org
> Subject: RE: [squid-users] Startup fails
>
>
> It is a url_regex acl.and calls a file stored locally that is
> about 7mb. How then do I use this list of banned sites to
> control access without the use of url_regex?

url_regex can be very cpu intensive, especially for long lists.

You will get better performance from dst or dstdomain acls.

>
> Thanks for any and all replies..
>
> \Bob
>
> -----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
>
> > -----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
>
> 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
>
>

This electronic message transmission is a PRIVATE communication which contains
information which may be confidential or privileged. The information is intended
to be for the use of the individual or entity named above. If you are not the
intended recipient, please be aware that any disclosure, copying, distribution
or use of the contents of this information is prohibited. Please notify the
sender of the delivery error by replying to this message, or notify us by
telephone (877-633-2436, ext. 0), and then delete it from your system.
Received on Thu Sep 08 2005 - 11:28:23 MDT

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