Re: [squid-users] Query regarding Squid buffer

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 24 Jul 2012 12:07:57 +1200

On 24.07.2012 05:11, Panchal Suman wrote:
> Hello All,
>
> How to get the number of packets that are in squid buffer when user
> is downloading a large file via the squid proxy?

Somewhere between 0 bytes and read_ahead_gap. Normally there are none
at all. Why do you need to know?

The active_requests cache manager report lists a line
"out.offset 16443, out.size 12705"

out.size have been delivered, out.offset is where the receive side is
up to presently.

So (out.offset - out.size) is the bytes currently buffered in transit
through Squid.

Amos
Received on Tue Jul 24 2012 - 00:08:00 MDT

This archive was generated by hypermail 2.2.0 : Tue Jul 24 2012 - 12:00:02 MDT