[squid-users] Negative value for total memory accounted

Sebastian Goicochea sebag at vianetcon.com.ar
Wed Jul 29 22:54:30 UTC 2015


Amos, it makes perfect sense now. After the convertion I have the real value


Thanks,
Sebastian

El 29/07/15 a las 19:04, Amos Jeffries escribió:
> On 30/07/2015 9:29 a.m., Yuri Voinov wrote:
>> Squid is 32 bit? And OS?
> Well, technically SNMP used by Squid is 32-bit. Squid itsef may be a
> 64-bit build and produce the same thing.
>
>> 30.07.15 3:23, Sebastian Goicochea пишет:
>>> Hello, I'm having a problem monitoring squid memory usage.
>>> Using SNMP:
>>> SQUID-MIB::cacheMemUsage.0 = INTEGER: -1355105
>>> Using squid-client:
>>> Memory accounted for:
>>>      Total accounted:       -1369659 KB
>>>      memPoolAlloc calls:      1995
>>>      memPoolFree calls:  653296188
>>> Note that the value is negative (-)
>>> The problem arose when I set "cache_mem 2048 MB" (it was 1024 before)
>>> I've read about the malloc problem .. just wanted to know if someone
>> found a solution other than obtaining it through ps
> Not easily. The maths is a bit tricky. But if you know how, convert the
> negative it to an unsigned 32-bit value.
>
> Amos
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users



More information about the squid-users mailing list