--- Henrik Nordstrom <[EMAIL PROTECTED]> wrote: >
How large is your Squid process after it has rebuilt
> the cache index?

Once it rebuilt the cache index for all the caching
partitions, it immediately restart with the xmalloc
error as seen from cache.log.

> 
> How large is the process shortly before it dies?

900M

> 
> total in use from mallinfo should be nearly 100%
> normally.. if it is much 
> less then the malloc library is not working well for
> Squid as it then is 
> keeping a lot more memory allocated from the OS than
> Squid is using.

Oh I see. Thanks.

> 
> Regards
> Henrik
> 
> 
> On Fri, 10 Oct 2003, Tay Teck Wee wrote:
> 
> > Can anyone help? Thanks.
> > 
> > --
> > Wolf 
> > 
> >  --- Tay Teck Wee <[EMAIL PROTECTED]>
> wrote: > 
> > --- Robert Collins <[EMAIL PROTECTED]>
> 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 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > A free party for the most "shiok" photo! 
> > http://sg.yahoo.com/shiok
> > 
>  

__________________________________________________
Do You Yahoo!?
A free party for the most "shiok" photo! 
http://sg.yahoo.com/shiok

Reply via email to