Search squid archive

top reports twice memory as much as Total in mgr:mem

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

 



Hello,

In a 3.1.6 squid installation on a CentOS 5.5 x86 host with customized
kernel, top reports

VERT 19.8g, and RES 14g

while mgr:mem reports
Total Allocated 7.25g (96.4% of which is mem_node) high 7.27g,  In Use
7.25g %alloc 99.957

In squid.conf, the following is explicitly configured(mem_pool is default):
cache_mem 7168 MB
maximum_object_size 51200 KB
maximum_object_size_in_memory 1024 KB

Probably memory leak.  However, it is not reliably reproducible.
Anyway, a restart will return memory to OS.

Additionally, mgr reports negative values:

Memory usage for squid via mallinfo():
        Total space in arena:  -1672772 KB
        Ordinary blocks:       1252818 KB 22892799 blks
        Small blocks:               0 KB      0 blks
        Holding blocks:         14400 KB      8 blks
        Free Small blocks:          0 KB
        Free Ordinary blocks:  1268713 KB
        Total in use:          1267218 KB -75%
        Total free:            1268713 KB -76%
        Total size:            -1658372 KB
Memory accounted for:
        Total accounted:       -882139 KB  53%
        memPool accounted:     -882139 KB  53%
        memPool unaccounted:   -776234 KB  47%
        memPoolAlloc calls: 30300656492
        memPoolFree calls:  30382011325

Thanks
kc


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

  Powered by Linux