Hello,
Thanks to everyone who has offered suggestions with this issue. To
squid3@treenet.co.nz i tried a direct email, but your email server rejected
my msg.
I am getting a warning with my porn rejectionslist, which only occurs
when the configuration is changed from url_regexp to dstdomain, that
subdomains are not valid. The file itself is at:
http://www.davemehler.com/porn.gz
I thought that would be easier than trying to push an attachment through
to the list to everyone.
I'm also wondering if my cache replacement policy is wrong, old items
don't seem to be being removed, even though the cache still has 81 mb before
its full.
If the rest of my config would be helpful i'll post it.
Thanks.
Dave.
----- Original Message -----
From: <squid3@treenet.co.nz>
To: "Dave" <dmehler26@woh.rr.com>
Cc: <squid3@treenet.co.nz>; <squid-users@squid-cache.org>
Sent: Thursday, June 28, 2007 6:50 PM
Subject: Re: [squid-users] FreeBSD Squid timeout issue
>> 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.
>
> Oh, aye, that way huge for regexp to handle.
>
>> 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.
>
> Hmm, sure this is an error? not a warning? It sound to me like a little
> maintenance needs doing on that file.
> - Duplicates can be removed.
> - 'example.com can' be removed if you have '.example.com' elsewhere.
> - 'www.example.com' can be removed if you have '.example.com' elsewhere.
> Sounds like the last of these two are what you are being warned about.
>
> If your still having trouble you can email me the file and I'll check it
> myself.
>
>> 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?
>
> Quite possibly, my squid expertise doesn't extend into the replacement
> policies, yet. You will have to look to one oef the others for help.
>
>
>> 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 Sat Jun 30 2007 - 18:22:09 MDT
This archive was generated by hypermail pre-2.1.9 : Sun Jul 01 2007 - 12:00:05 MDT