[squid-users] Negative value for total memory accounted

Sebastian Goicochea sebag at vianetcon.com.ar
Wed Jul 29 21:23:09 UTC 2015


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


Thanks,
Sebastian


More information about the squid-users mailing list