Search squid archive

Re: Negative value for total memory accounted

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux