RE: [squid-users] what happen if cache be full

From: Pali Singh <psingh@dont-contact.us>
Date: Thu, 3 Apr 2003 17:06:14 +0100

Henrik,

"The only case where a Squid cache becomes completely full is if you
shrink the size of an existing cache by editing squid.conf after it has
been filled."

What happens in this case? Does it still replace the oldest objects? If so is this configurable?

Thanks in advance

Pali

-----Original Message-----
From: Henrik Nordstrom [mailto:hno@squid-cache.org]
Sent: 03 April 2003 13:05
To: atit jariwala
Cc: squid-users@squid-cache.org
Subject: Re: [squid-users] what happen if cache be full

tor 2003-04-03 klockan 12.23 skrev atit jariwala:

> 1)
> what happen if my cache be completely full
> does squid stores new coming objects?

Yes, of course. The cache never becomes completely full as Squid is
automatically removing old objects when the cache is close to full.

The only case where a Squid cache becomes completely full is if you
shrink the size of an existing cache by editing squid.conf after it has
been filled.

> 2)
> if i am setting reference_age to 1 month.I got my cache full. I don't have
> any cached object older then 15 days and refrence_age is 1 month then what
> will happened to new objects?

reference_age is not related.

squid always deletes the older objects to make room for new objects when
needed.

in addition to this, reference_age periodically deleted objects older
than the reference_age. Since Squid-2.4 (or maybe 2.3, I do not
remember) Squid no longer does this.

Regards
Henrik

-- 
Free Squid-users support provided by Henrik Nordström <hno@squid-cache.org>
PayPal donations welcome if you consider my Free Squid support helpful.
If you need commercial Squid support or cost effective Squid and
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Visit our website at http://www.rm.com
This message is confidential.  You should not copy it
or disclose its contents to anyone.  You may use and apply the information
only for the intended purpose.  Internet communications are not secure and
therefore RM does not accept legal responsibility for the contents of this
message.  Any views or opinions presented are only those of the author and
not those of RM.  If this email has come to you in error please delete it
and any attachments.  Please note that RM may intercept incoming and
outgoing e-mail communications.
This email has been scanned for viruses by Trend ScanMail.
Received on Thu Apr 03 2003 - 09:06:57 MST

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