1.2.beta24: Cache not filling - refresh rules ?

From: Niall Doherty <ndoherty@dont-contact.us>
Date: Fri, 28 Aug 1998 14:50:46 +0100

Hi,

I upgraded to 1.2.beta24 a few days ago on one of our production
machines (3.5GB size). It's not filling up - it's hovering around 13MB
:-(

I tailed the store.log and see hundreds of RELEASEs.

I did a quick check on the store.log.0 file, for yesterday, (using wc
and grep for RELEASE and SWAPOUT) and SWAPOUTs account for only 6% of
the actions, while RELEASEs account for the remaining 94%.

So - there must be something wrong with my refresh patterns or
expiry information. It doesn't seem to be caching anything.

I made no changes to the rules from 1.NOVM.20 to 1.2.beta24 - except
removing the "/i" after "refresh_pattern".

Here are the relevant sections from my squid.conf file:

---
#hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
request_size 100 KB
#refresh_pattern        .       0 20% 4320
#
#                       1 hour       60  
#                      12 hours     720
#                       1 day      1440
#                       1 week    10080
#                       2 weeks   20160
#                       1 month   43200
#
#                  Regex matching URL           MINIMUM PERCENT MAXIMUM
# ---------------  --------------------------- ------- -------- ------
#
# Dynamic Information
refresh_pattern  ^http://.*\?                        0    20% 43200
refresh_pattern  ^http://.*/cgi-bin/                 0    20% 43200
refresh_pattern  ^http://.*/delta_bin/               0    20% 43200
refresh_pattern  ^http://.*/htbin/                   0    20% 43200
refresh_pattern  ^http://.*\.cgi$                    0    20% 43200
#
# Static Graphics
refresh_pattern  ^http://.*\.ps$                    60    50% 43200
refresh_pattern  ^http://.*\.gif$                   60    50% 43200
refresh_pattern  ^http://.*\.jpe?g$                 60    50% 43200
refresh_pattern  ^http://.*\.x[bp]m$                60    50% 43200
#
# All other HTTP access
refresh_pattern  ^http://                           60    20% 43200
#
# FTP directories and files
refresh_pattern  ^ftp://.*/$                        60    20% 60
refresh_pattern  ^ftp://                           720    20% 43200
#
# Everything else (gopher)
refresh_pattern    .                               720   100% 720
 
reference_age 1 month
quick_abort_min 5 KB
quick_abort_pct 90
quick_abort_max 100 KB
---
Are the new parameters introduced for refresh_pattern needed ?
Any help/ideas appreciated...
Cheers,
Niall
-- 
Niall Doherty          | mailto:ndoherty@eei.ericsson.se
Systems Engineer       | http://www.ericsson.ie
                       |
Voice: +353 1 207 7506 | Ericsson Systems Expertise Ltd.,
Fax:   +353 1 207 7115 | Beech Hill, Clonskeagh, Dublin 4, Ireland.
Received on Fri Aug 28 1998 - 06:51:43 MDT

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