Re: [squid-users] FreeBSD Squid timeout issue

From: Dave <dmehler26@dont-contact.us>
Date: Thu, 28 Jun 2007 15:05:32 -0400

Hello,
    Thanks for your suggestions. I checked my squid.conf and the acls for
chat and spyware were of type dstdomain, porn was url_regexp, i changed that
to dstdomain and now when i do a squid -k reconfigure i am getting syntax
errors. AS for the file sizes chat has 2 lines, spyware has 1440 lines, and
of course the big one the porn rejection file has 15025 lines. The error i'm
repeatedly getting now and i didn't get it when the file was url_regexp was
that i have subdomains of parent domains and they are ignored. Does anyone
use spyware, porn, and chat rejections, and if so where did you obtain them?
    Also, i'm wondering why my cache isn't clearing out the oldest items, is
my cache replacement policy bad?
Thanks.
Dave.

----- Original Message -----
From: <squid3@treenet.co.nz>
To: <squid-users@squid-cache.org>
Sent: Tuesday, June 26, 2007 9:27 PM
Subject: Re: [squid-users] FreeBSD Squid timeout issue

>> Hello,
>> Thanks for all replies.
>> I've got a good hard disk, i've been checking that and haven't found
>> any
>> problems or seen any error msgs in my logs.
>> I've adjusted my high cache size from 100% to 95% but i'm starting to
>> look at is squid purging oldest items from my cache? It seems like when
>> the
>> cache gets full or nearly so i start having this issue?
>> As for my pornography and spyware rejection files they are each a
>> considerable size, they are lists of sites i don't want visited,
>> downloaded,
>> or to have anything to do with. If there's a way to speed this up i'm all
>> for it.
>> Thanks.
>> Dave.
>>
>
> Make sure that you are using dst or dstdomain as the ACL types on teh
> lareg lists instead of regex.
> The regex is quite slow and large lists often become a drag. After
> splitting the lists into 'need regex' and dstdomain eth speed increase is
> still often worth the extra time spent maintaining two lists.
>
> Make sure there is extra space on the cache disk. All the tutorials
> mention making the cache 60%-80% of drive size. I can't recall what the
> exact reasons were but it had something to do with OS-level handling on
> the drive.
>
> Amos
>
Received on Thu Jun 28 2007 - 13:05:39 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Jul 01 2007 - 12:00:05 MDT