Re: [squid-users] xmalloc and out of memory errors in messages log

From: Tay Teck Wee <wolfpacks01@dont-contact.us>
Date: Wed, 8 Oct 2003 10:22:22 +0800 (CST)

 --- Robert Collins <robertc@squid-cache.org> wrote: >
On Tue, 2003-10-07 at 17:17, Tay Teck Wee wrote:
>
> > The Total Accounted Memory (seen from cachemgr)
> always
> > shows about 60-70% of the size of the squid
> process,
> > i.e. when squid process is at 500M, Total
> Accounted
> > Memory is about 350M. This ratio is maintained
> > throughout the squid process lifetime.
> >
> > One thing peculiar is that under Memory usage for
> > squid via mallinfo(): the total in use is always
> 100%.
> >
> >
> > From Memory Utilization->In Use->KB column, the
> top 3
> > are:
> > StoreEntry 356131
> > MD5 digest 118711
> > mem_node 65677
> >
>
> Well you've got 356MB of StoreEntries - cache index
> elements. How much
> mem cache and disk cache do you ahve in your
> configuration?

cache_mem 64 MB
cache_dir aufs /cdata1 16000 36 256
cache_dir aufs /cdata2 16000 36 256
cache_dir aufs /cdata3 16000 36 256

BTW the physical RAM is 2G.

Thanks.

>
> Cheers,
> Rob
>
>
> --
> GPG key available at:
> <http://members.aardvark.net.au/lifeless/keys.txt>.
>

> ATTACHMENT part 2 application/pgp-signature
name=signature.asc
 

__________________________________________________
Do You Yahoo!?
A free party for the most "shiok" photo!
http://sg.yahoo.com/shiok
Received on Tue Oct 07 2003 - 20:22:23 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:20:26 MST