Re: [squid-users] Re: is there any thing wrong from cache manager logs ?!!

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 11 Nov 2013 10:16:29 +1300

On 2013-11-08 12:29, Dr.x wrote:
> Amos Jeffries-2 wrote
>> On 2013-11-08 11:26, Dr.x wrote:
>>> .
>>>
>>>
>>>> Select loops:
>>>> * 1K/sec under the fast traffic period
>>>> * relaying 3.5MB/sec
>>>>
>>>> * 7K/sec and 9K/sec in the periods you indicate as slow
>>>> * relaying 4.7MB/sec
>>>>
>>>> => hints that Squid is looping once per packet or so.
>>>>
>>>>
>>>> Amos
>>>
>>> something not being understood ,
>>> if u look at graph
>>> u will note that "out" traffic is samller than "in" traffic !!!!
>>>
>>>
>>> not understanding why !!!!
>>>
>>
>> Think about what is "in" and "out" on that graph?
>> Keep in mind that for each request Squid is handling two TCP
>> connections, receiving and sending on both. Also performing HIT's on
>> ~4%
>> total HTTP traffic.
>>
>>
>> Amos
>
> hi amos , im not talkign about t the difference in , out ,
> im wondering why the "in" is higher than "out" ???
>
> shouldnt the "out" higher than "in" ( as a result of hit ration) ?????
>

That depends on what they are measuring. Which is why I asked.

> i mean if i want to calculate wt im saving , i say (out-in)but in my
> case
> its in -ve !!!!
>

IF you measure "in" as being traffic on LAN interface and "out" as being
traffic on WAN interface they could very well be negative.

If you measure "in" as being packets into the box from any interface,
and "out" as being packets leaving the Squid box. It could very well be
*either* positive or negative.

If you are measuring only one interface, they will again be *either*
positive or negative depending on the interface.

So ... what are "in" and "out" measuring *exactly* ??

Amos
Received on Sun Nov 10 2013 - 21:16:37 MST

This archive was generated by hypermail 2.2.0 : Mon Nov 11 2013 - 12:00:04 MST