Re: [squid-users] Meaning of negative sizes in store.log

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 31 Jul 2013 04:47:46 +1200

On 30/07/2013 10:21 p.m., squid_at_peralex.com wrote:
> In the sizes fields of store.log, what do negative sizes mean? For
> instance, I'm getting this, and I'm interested in knowing the meaning of
> the -312:
>
> ... -1 application/octet-stream 96508744/-312 GET
> http://au.v4.download.windowsupdate.com/msdownload/update/software....
>
> Thanks
> Mark
>

Good question. And one which will require digging through the code to
answer I'm afraid.

FWIW I suspect that is a bug in the header vs object calculations. The
wiki has this to say about the value:

"
sizes This column consists of two slash separated fields:

  *

    The advertised content length from the HTTP Content-Length reply
    header.

  * The size actually read.
      o If the advertised (or expected) length is missing, it will be
        set to zero. If the advertised length is not zero, but not equal
        to the real length, the object will be released from the cache.

"

Amos
Received on Tue Jul 30 2013 - 16:47:52 MDT

This archive was generated by hypermail 2.2.0 : Wed Jul 31 2013 - 12:00:05 MDT