Re: [squid-users] top reports twice memory as much as Total in mgr:mem

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 19 Oct 2010 23:48:07 +1300

On 19/10/10 22:19, Kaiwang Chen wrote:
> 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.

see question 4 of the memory FAQ:
http://wiki.squid-cache.org/SquidFaq/SquidMemory

>
> Additionally, mgr reports negative values:
>

Bit of 32-bit signed wrap in the display. Annoying but nothing to worry
overly much about. It's been fixed in later releases.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.8
   Beta testers wanted for 3.2.0.2
Received on Tue Oct 19 2010 - 10:48:13 MDT

This archive was generated by hypermail 2.2.0 : Thu Oct 21 2010 - 12:00:03 MDT