On Mon, Feb 17, 2014 at 11:15 AM, Niki Gorchilov <n...@gorchilov.com> wrote:
> Hello,
>
> While using Squid 3.4.3 on 64bit Ubuntu 12.04.3 with 64GB cache mem
> and I see negative values in some memory-related statistics:
>
> ===[cut]===
> Memory usage for squid via mallinfo():
>         Total space in arena:  -972092 KB
>         Ordinary blocks:       -974454 KB   4472 blks
>         Small blocks:               0 KB      0 blks
>         Holding blocks:        740328 KB     19 blks
>         Free Small blocks:          0 KB
>         Free Ordinary blocks:    2362 KB
>         Total in use:            2362 KB -1%
>         Total free:              2362 KB -1%
>         Total size:            -231764 KB
> Memory accounted for:
>         Total accounted:       1834725 KB -792%
>         memPool accounted:     77332197 KB -33367%
>         memPool unaccounted:   -77563961 KB  -0%
>         memPoolAlloc calls: 13874752170
>         memPoolFree calls:  13959152640
> ===[cut]===
>
> Are these result of integer overflow or using signed integers?

The former.
The OS API we rely on to collect those uses 32-bit signed integers.
There's nothing we can do about it, I'm sorry :(


-- 
    Kinkie

Reply via email to