[squid-users] stale pages remain in cache

From: Ryan Casey <rcasey@dont-contact.us>
Date: Thu, 14 Mar 2002 10:50:18 -0500

Our squid reverse cache server is not removing random stale pages from its
cache. Some files it properly removes, but it will randomly serve files
that should have expired. I haven't been able to determine a pattern to
what files it keeps and which files it excludes.

Here's a snippet of the header that squid is sending with the request:

Date: Wed, 06 Mar 2002 10:25:57 GMT
Content-Type: text/html
Cache-Control: public
Expires: Wed, 6-Mar-2002 10:30:57 GMT
Age: 66146
X-Cache: HIT from www.opensecrets.org

This page should have expired an hour prior to this request.

Our refresh patterns are:
refresh_pattern -i \.asp 720 20% 720
override-expire
refresh_pattern . 720 20% 1440 override-expire

Version: 2.4-Stable3 (rebuilt from RedHat's latest RPM package), using diskd.

The store.log file shows the page being swapped out, and the access.log
file shows a TCP_HIT for the request.

I thought that it might have been a problem with the refresh_pattern(s) but
I've seen at least one page stay in the cache for 3 weeks.

Thanks,
-Ryan Casey
Received on Thu Mar 14 2002 - 08:50:32 MST

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