Re: Memory

From: Support <support@dont-contact.us>
Date: Mon, 24 Feb 1997 23:34:59 +1100

> > ====================================
> > 97/02/24 13:47:42| WARNING: Exceeded 'cache_mem' size (20488K > 20480K)
> > 97/02/24 13:47:42| Perhaps you should increase cache_mem?
> > 97/02/24 13:47:42| storeGetMemSpace stats:
> > 97/02/24 13:47:42| 1 objects locked in memory
> > 97/02/24 13:47:42| 0 LRU candidates
> > 97/02/24 13:47:42| 0 were purged
> > 97/02/24 13:47:42| 0 were released
> > ====================================
> >
> > Do you have any idea on how to fix it?
>
> I have a funny feeling that someone is trying to download an object >
your
> cache_mem setting. If you notice this occuring again, use the cachemgr to
see
> what are the VM objects. This shouldn't happen, for a few reasons, but
somehow
> it seems that one object is sucking up all the memory :(

How can this be possible?

Also I have set in squid.conf, maximum_object_size 8192. Is there a
parameter to set the maximum VM object size?

> > ====================================
> > 97/02/24 13:47:46| file_open: error opening file
> > /wd2/squidcache/04/86/00005864:
> > (2) No such file or directory
> > 97/02/24 13:47:46| storeSwapInStart: Failed for
> > 'http://www.microsoft.com/ie/dow
> > nload/instruct.htm'
> > 97/02/24 13:47:53| file_open: error opening file
> > /wd2/squidcache/07/86/00005867:
> > (2) No such file or directory
> > 97/02/24 13:47:53| storeSwapInStart: Failed for
> > 'http://www.microsoft.com/ie/ima
> > ges/bullets/bul_red.gif'
> > ====================================
> >
> > Again, do you have any idea on how to fix this? Do you think if it is
> > related to the patch?
>
> You have somehow corupted the cache dir. Upgrade to 1.1.6, plus patches,
plus
> the ipcache.c patch. Then delete /usr/local/squid/cache/log-last-clean
and kill
> -TERM <squid.pid>. That will cause the cache to rebuilt in slow mode,
checking
> to see if the files in the log exist on disk.

I am using 1.1.6 already, will apply the patches later. About the log file
in /usr/local/squid/cache/, what does it log? I cannot find its
description in the squid FAQ. It is 3MB now. What kind of regular
maintenance do I need to do?

Your help has been wonderful, thank you.

Regards

Clement
---------------------------------------------------------------------------
email address: support@ans.com.au
Web page: http://www.ans.com.au
post address: 14 Fisher Road, Dee Why, NSW 2099, Australia
fax number: +61 2 9972 2633
Received on Mon Feb 24 1997 - 05:03:05 MST

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