Re: memory watermarks ?

From: Adrian Chadd <adrian@dont-contact.us>
Date: Fri, 27 Oct 2000 01:45:05 +0800

On Thu, Oct 26, 2000, Reuben Farrelly wrote:
> Hi Adrian,
>
> Have a look now at
>
> [snip]
>
> From top:
>
> 8:00pm up 7 days, 6:02, 1 user, load average: 0.00, 0.00, 0.00
> 85 processes: 84 sleeping, 1 running, 0 zombie, 0 stopped
> CPU states: 0.0% user, 2.1% system, 0.3% nice, 97.4% idle
> Mem: 94980K av, 93492K used, 1488K free, 0K shrd, 2404K buff
> Swap: 133016K av, 13136K used, 119880K free 16128K cached
>
> PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
> 30946 squid 9 0 39400 37M 1076 S 0.0 40.2 2:34 squid
> 30951 squid 9 0 39400 37M 1076 S 0.0 40.2 0:00 squid
>
> ...
>
> [root@tornado squid]# ps -auxw | less
> USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
> squid 30951 0.0 40.2 74364 38256 ? S Oct22 0:00 (squid) -D -S
>
> This was compiled from the squid-head-200010212300 tarball so it's quite
> recent.
>
> So memory usage has definitely increased a lot over the last 4 days since I
> started up squid...

How bizarre... :

* 16 meg in memory pools

Memory usage for squid via mallinfo():
        Total space in arena: 39449 KB
        Ordinary blocks: 39442 KB 5 blks
        Small blocks: 0 KB 0 blks
        Holding blocks: 176 KB 1 blks
        Free Small blocks: 0 KB
        Free Ordinary blocks: 6 KB
        Total in use: 39618 KB 100%
        Total free: 6 KB 0%
Memory accounted for:
        Total accounted: 16695 KB
        memPoolAlloc calls: 2610008
        memPoolFree calls: 2177098

Hrm. Anyone got any ideas?

-- 
Adrian Chadd			"God: Damn! I left pot everywhere!
<adrian@creative.net.au>	  Now I'll have to create Republicans!"
				    - Bill Hicks
Received on Thu Oct 26 2000 - 11:45:17 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:52 MST