[squid-users] Errors in cache.log
Amos Jeffries
squid3 at treenet.co.nz
Sat Sep 24 22:06:32 UTC 2016
On 24/09/2016 1:50 a.m., erdosain9 wrote:
> Hi,
> Thanks a lot.
> But, i really dont get something...
> about delay pools
>
> you tell me that
>
>
>
> Amos Jeffries wrote
>> Note: requests which match the "redes_sociales adminis" ACLs have BOTH
>> pool #1 and pool #4 restrictions applied to them.
>>
>> Note: requests which match the "stream adminis" ACLs have BOTH pool #2
>> and pool #4 restrictions applied to them.
>> Amos
>
> And the same for the others delay pools...
> But, what i think that im doing is apply for example
>
> the web pages of "redes_sociales"(social network) to "adminis"... i mean,
> that bandwith for those webs... and then the other delay pools for bandwith
> for youtube, and other delay pool for all the other webs........
>
> it is not right??
You have one pool which says "allow adminis" and another that says
"allow redes_sociales adminis".
That means a request that matches redes_sociales AND adminis will match
both those pools.
If a request matches the ACLs to have two different pools assigned to
it. Then both those pools will be assigned. The traffic accounting then
interacts in some weird ways due to bugs and which order the pools have
in your squid.conf. The request may be over- or under- counted and the
traffic amount used subtracted from one or both pools.
So for now it is best to make sure only one pool can match at a time,
and then you can be sure what any given request will have happen to it.
Amos
More information about the squid-users
mailing list