Re: Help on squid ..

From: Dancer <dancer@dont-contact.us>
Date: Tue, 17 Feb 1998 15:17:21 +1000

Here's one possible explanation:

Some grouping of memory structures exceeded the size of cache_mem. On my system,
requesting the cache-objects listing will do this, and definitely cause squid to
crash, by spiralling out-of-control, consuming every available byte of RAM and
swap (an extra 130MB, in toto), and then crashing due to an allocation failure.
When this happens, my logs look pretty much like your logs below.

Does it happen when the cache-manager interface is used, or at other times?
There _are_ other things that can cause cache_mem to be exceeded.

D

Jerome Schevingt wrote:

> Hi
>
> I have this message in syslog.err, do you know why ?
>
> proxy squid[87]: WARNING: Exceeded 'cache_mem' size (8244K > 8192K)
> proxy squid[87]: Perhaps you should increase cache_mem?
> proxy squid[87]: WARNING: Exceeded 'cache_mem' size (18624K > 8192K)
> proxy squid[87]: Perhaps you should increase cache_mem?
> proxy squid[87]: WARNING: Exceeded 'cache_mem' size (29652K > 8192K)
> proxy squid[87]: Perhaps you should increase cache_mem?
> proxy squid[87]: storeGetMemSpace stats:
> proxy squid[87]: 0 objects locked in memory
> proxy squid[87]: 0 LRU candidates
> proxy squid[87]: 0 were purged
> proxy squid[87]: 0 were released
> proxy squid[87]: WARNING: Exceeded 'cache_mem' size (38524K > 8192K)
> proxy squid[87]: Perhaps you should increase cache_mem?
> proxy squid[87]: storeGetMemSpace stats:
> proxy squid[87]: 0 objects locked in memory
> proxy squid[87]: 0 LRU candidates
> proxy squid[87]: 0 were purged
> proxy squid[87]: 0 were released
> proxy squid[87]: xmalloc: Unable to allocate 4096 bytes!
>
> Thanks
>
> ----------------------------------------------------------------------------
> ("`-/")_.-'"``-._ Jerome Schevingt - Administrateur Unix/Windows
> . . `; -._ )-;-,_`) AVO France SARL
> (v_,)' _ )`-.\ ``-' 21 Avenue de Firminy -= Jpc@avo.fr =-
> _.- _..-_/ / ((.' F-43110 Aurec sur Loire - FRANCE
> ((,.-' ((,/ Tel: +33 4.77.35.34.97 - Fax: +33 4.77.35.45.38
> ----------------------------------------------------------------------------

--
Did you read the documentation AND the FAQ?
If not, I'll probably still answer your question, but my patience will
be limited, and you take the risk of sarcasm and ridicule.
Received on Mon Feb 16 1998 - 21:26:02 MST

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