Hi,
I'm out of ideeas trying to debug cache misses that I cannot explain. As a last resort I'm sending this problem to the list with the hope that you could come up with some explanation and/or cure for this.
the setup is: squid 2.7stable9 on RHEL 5, configured as accel, 12 parents 1 sibling (another squid). Apache in front zope as parents.
For the root page I send requests from the same browser. The page is supposed to stay in cache for 1h. I've seen it behaving correctly one time (at squid startup) afterwards if i keep requesting the page a few times I will get a MISS long before the 3600s have passed.
I have checked and there is no PURGE for this URL in the mean time. There are some for other URL's deeper in the structure.
here's a request:
Host www.somewebsite.com
User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.5.9-1.fc11 Firefox/3.5.9Accepttext/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive 300
Connection keep-alive
Referer http://www.somewebsite.com/
Cookie __utma=173508663.4134765344646281700.1250060356.1271487209.1289208944.50; __utmb=173508663.59.10.1289208944; __utmc=173508663; __utmz=173508663.1289208944.50.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
here's a HIT reply:
Date Mon, 08 Nov 2010 12:06:29 GMT
Server Zope/(Zope 2.9.10-final, python 2.4.3, linux2) ZServer/1.1 Plone/2.5.5
Content-Length 10131
Content-Language en
Content-Encoding gzip
Expires Fri, 10 Nov 2000 12:05:48 GMT
Vary Accept-Encoding,Accept,If-None-Match,X-Username
X-Caching-Rule-Id plone-containers
Cache-Control max-age=0, s-maxage=3600
Content-Type text/html;charset=utf-8
X-Header-Set-Id cache-in-proxy-1-hour
Age 40
X-Cache HIT from squid1.somewebsite.com
X-Cache-Lookup HIT from squid1.somewebsite.com:3128
Via 1.0 squid1.somewebsite.com:3128 (squid/2.7.STABLE9)
Keep-Alive timeout=8, max=100
Connection Keep-Alive
Long before the 3600s have passed ,from the same browser, I would get a MISS. The request headers are IDENTICAL and there is no PURGE. What else might invalidate the cached object?
Thank you,
Adrian
Received on Mon Nov 08 2010 - 12:33:39 MST
This archive was generated by hypermail 2.2.0 : Mon Nov 08 2010 - 12:00:01 MST