Re: [squid-users] Re: why so many MISS?

From: Adrian Chadd <adrian@dont-contact.us>
Date: Mon, 25 Feb 2008 21:19:16 +0900

If you think so then please submit a bugzilla bug.

Just be sure to turn on header logging and log the request and reply headers in the access.log .
There's not enough in the normal log files to always figure out whats going on.

Mime/header logging is very, very helpful when debugging. :)

Adrian

On Mon, Feb 25, 2008, J. Peng wrote:
> oops I think this is a *bug*.
>
> If the client send http/1.1 and is encoding acceptable, squid works normally.
> If the client is not encoding acceptable, squid can't cache the object
> for this IP the first time, even though there have been many other
> clients requested the same object.
> That's to say, for example, my browser send a http/1.0 request to an
> object to squid (that object has been requested by many other clients
> before me), the first time squid get cache MISS, but from the second
> time the object get cached.
>
> Is it a bug in squid-2.7? Thanks!
>
>
>
> On Mon, Feb 25, 2008 at 4:07 PM, J. Peng <peng.kyo@gmail.com> wrote:
> > Please see the access.log below:
> >
> > # tail -f access.log |grep all.js|grep MISS
> >
> > 1203926657.352 189 222.136.187.144 TCP_MISS/200 27617 GET
> > http://r14-js.mail.xxxx.com/zh_CN/htmledition20080131/js/all.js -
> > FIRST_UP_PARENT/RES application/x-javascript
> > 1203926657.750 114 221.11.92.130 TCP_MISS/200 27617 GET
> > http://r14-js.mail.xxxx.com/zh_CN/htmledition20080131/js/all.js -
> > FIRST_UP_PARENT/RES application/x-javascript
> > 1203926658.696 988 221.3.235.6 TCP_MISS/200 27617 GET
> > http://r14-js.mail.xxxx.com/zh_CN/htmledition20080131/js/all.js -
> > FIRST_UP_PARENT/RES application/x-javascript
> > 1203926660.663 352 211.97.118.168 TCP_MISS/200 12718 GET
> > http://res-js.mail.xxxx.com/zh_CN/htmledition20080131/js/all.js -
> > FIRST_UP_PARENT/RES application/x-javascript
> > 1203926661.194 21606 221.11.16.110 TCP_MISS/200 68533 GET
> > http://r14-js.mail.xxxx.com/zh_CN/htmledition20080131/js/all.js -
> > FIRST_UP_PARENT/RES application/x-javascript
> > 1203926662.414 1121 121.68.66.119 TCP_MISS/200 27617 GET
> > http://res-js.mail.xxxx.com/zh_CN/htmledition20080131/js/all.js -
> > FIRST_UP_PARENT/RES application/x-javascript
> > 1203926663.557 1673 121.41.135.133 TCP_MISS/200 27617 GET
> > http://res-js.mail.xxxx.com/zh_CN/htmledition20080131/js/all.js -
> > FIRST_UP_PARENT/RES application/x-javascript
> >
> >
> > Why there are so many MISS with FIRST_UP_PARENT reason?
> > I'm running Squid-2.7 the current version for reverse-proxy.
> > Thanks!
> >

-- 
- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
- $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -
Received on Mon Feb 25 2008 - 05:05:59 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:05 MST