Re: [squid-users] Negative Mallinfo values in squid cache manager

From: Mark Elsen <mark.elsen@dont-contact.us>
Date: Sun, 4 Sep 2005 15:15:21 +0200

On 9/4/05, sk <suresh.kumar@online.com.kh> wrote:
> Hi,
>
> Why is it that the cache manager shows negative values in runtime
> info.(squid 2.5.10 on FC4 X86-64)
> We have 4Gb total Ram.
>
>
> Memory usage for squid via mallinfo():
> Total space in arena: -2001896 KB
> Ordinary blocks: -2003111 KB 168 blks
> Small blocks: 0 KB 0 blks
> Holding blocks: 13620 KB 10 blks
> Free Small blocks: 0 KB
> Free Ordinary blocks: 1214 KB
> Total in use: -1989491 KB 100%
> Total free: 1214 KB 0%
> Total size: -1988276 KB
> Memory accounted for:
> Total accounted: 1878417 KB
> memPoolAlloc calls: 1903784217
> memPoolFree calls: 1878036540
>
> This is what top says about squid.
>
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ P COMMAND
> 11560 squid 15 0 2566m 2.1g 1632 S 7.9 54.2 1240:28 1 squid
>
> Pls help.
>
 
The SQUID process is larger then 2Gb. Since , probably for
these values a 32-int is used, the values get wrapped, hence
you are seeing these negative values.

M.
Received on Sun Sep 04 2005 - 07:43:31 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Oct 01 2005 - 12:00:03 MDT