Re: Strange but true

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 08 Jun 2000 01:48:43 +0200

A release of a 304 status object is that Squid received an "not
modified" reply from the upstream server, and had no cached object to
associate this updated status to.

--
Henrik Nordstrom
Squid hacker
hillel@learn.co.za wrote:
> 
> Hi
> 
> Are you saying that if the object is not modified then, squid has
> in effect cached the new object and therefore deletes one
> of them. Otherwise what is happening to cause the RELEASE log in
> store.log.
> 
> Thanks
> 
> 
> At 20:14 00/06/06 +0200, Henrik Nordstrom wrote:
> >Regarding the last store.log entries: All of them are for 304 replies
> >(Not Modified), and Suqid cannot yet cache these if the object isn't
> >already in the cache.
> >
> >A -1 in store.log (or Squids other logs) means that the information is
> >not available. Usually because the origin server didn't provide this
> >information. Yes it could also be that the header is unparseable, but
> >that is a very rare case.
> >
> >--
> >Henrik Nordstrom
> >Squid hacker
> >
> >
> >hillel@learn.co.za wrote:
> >>
> >> Hi
> >>
> >> If I compare access.log to store.log it seems the
> >> system is caching the pages and then releasing them i.e. removing them
> >> from the cache.  Somehow when you come back it remembers that iten  had
> >> that file but it hasn't, it must then retrieve it and then it deletes it.
> >> If I get a SWAPOUT page, then in store.log I get:
> >>
> >> 960326602.660 SWAPOUT 00000040  200 960312136 921321610 960312736 image/gif
> >> 4488
> >> 9/44889 GET http://192.168.0.2:81/images/GCSECon4745Img166.gif
> >>
> >> I don't get the -1 or unknown values in store.log that you see below
> >> when you get a SWAPOUT.
> >>
> >> In the release-notes-1.1 the -1 means the header is unparsable.
> >> What does the header is unparsable mean? And could that cause this?
> >>
> >> Thanks, for all the help
> >>
> >> If I go through the access.log I get:
> >>
> >> 960326035.660      0 196.14.52.155 TCP_MISS/200 13380 GET
> >> http://192.168.0.2:81/
> >> default.asp?WCI=Lesson&WCU=1027 - DIRECT/192.168.0.2 text/html
> >> 960326035.660      0 196.14.52.155 TCP_REFRESH_HIT/304 256 GET
> >> http://192.168.0.
> >> 2:81/sharedimages/logo2.gif - DIRECT/192.168.0.2 -
> >> 960326035.660      0 196.14.52.155 TCP_REFRESH_HIT/304 256 GET
> >> http://192.168.0.
> >> 2:81/sharedimages/top2.gif - DIRECT/192.168.0.2 -
> >> 960326035.660      0 196.14.52.155 TCP_REFRESH_HIT/304 256 GET
> >> http://192.168.0.
> >> 2:81/sharedimages/small_side.gif - DIRECT/192.168.0.2 -
> >> 960326035.660      0 196.14.52.155 TCP_REFRESH_HIT/304 256 GET
> >> http://192.168.0.
> >> 2:81/sharedimages/bn_home.gif - DIRECT/192.168.0.2 -
> >> 960326035.660      0 196.14.52.155 TCP_REFRESH_HIT/304 255 GET
> >> http://192.168.0.
> >> 2:81/sharedimages/howtostudy.gif - DIRECT/192.168.0.2 -
> >> 960326035.660      0 196.14.52.155 TCP_REFRESH_HIT/304 256 GET
> >> http://192.168.0.
> >> 2:81/sharedimages/lessons.gif - DIRECT/192.168.0.2 -
> >> 960326035.660      0 196.14.52.155 TCP_REFRESH_HIT/304 255 GET
> >> http://192.168.0.
> >> 2:81/sharedimages/testyourself.gif - DIRECT/192.168.0.2 -
> >> 960326035.660      0 196.14.52.155 TCP_REFRESH_HIT/304 255 GET
> >> http://192.168.0.
> >> 2:81/sharedimages/aboutthissite.gif - DIRECT/192.168.0.2 -
> >> 960326035.660      0 196.14.52.155 TCP_REFRESH_HIT/304 256 GET
> >> http://192.168.0.
> >> 2:81/sharedimages/contactus.gif - DIRECT/192.168.0.2 -
> >> 960326035.660      0 196.14.52.155 TCP_MISS/304 243 GET
> >> http://192.168.0.2:81/im
> >> ages/GCSECon4551Img675.gif - DIRECT/192.168.0.2 -
> >> 960326035.660      0 196.14.52.155 TCP_REFRESH_HIT/304 255 GET
> >> http://192.168.0.
> >> 2:81/sharedimages/newsandviews.gif - DIRECT/192.168.0.2 -
> >> 960326035.660      0 196.14.52.155 TCP_MISS/304 243 GET
> >> http://192.168.0.2:81/im
> >> ages/GCSECon4551Img62.gif - DIRECT/192.168.0.2 -
> >> 960326035.660      0 196.14.52.155 TCP_MISS/304 243 GET
> >> http://192.168.0.2:81/im
> >> ages/GCSECon4551Img637.gif - DIRECT/192.168.0.2 -
> >> 960326035.660      0 196.14.52.155 TCP_REFRESH_HIT/304 256 GET
> >> http://192.168.0.
> >> 2:81/sharedimages/totoparrow.gif - DIRECT/192.168.0.2 -
> >>
> >> >From store.log
> >>
> >> 960326035.660 RELEASE FFFFFFFF  304 960311569        -1 960312769 unknown
> >> -1/0 G
> >> ET http://192.168.0.2:81/sharedimages/top2.gif
> >> 960326035.660 RELEASE FFFFFFFF  304 960311569        -1 960312769 unknown
> >> -1/0 G
> >> ET http://192.168.0.2:81/sharedimages/small_side.gif
> >> 960326035.660 RELEASE FFFFFFFF  304 960311569        -1 960312769 unknown
> >> -1/0 G
> >> ET http://192.168.0.2:81/sharedimages/bn_home.gif
> >> 960326035.660 RELEASE FFFFFFFF  304 960311569        -1 960312769 unknown
> >> -1/0 G
> >> ET http://192.168.0.2:81/sharedimages/howtostudy.gif
> >> 960326035.660 RELEASE FFFFFFFF  304 960311569        -1 960312769 unknown
> >> -1/0 G
> >> ET http://192.168.0.2:81/sharedimages/lessons.gif
> >> 960326035.660 RELEASE FFFFFFFF  304 960311569        -1 960312769 unknown
> >> -1/0 G
> >> ET http://192.168.0.2:81/sharedimages/testyourself.gif
> >> 960326035.660 RELEASE FFFFFFFF  304 960311569        -1 960312769 unknown
> >> -1/0 G
> >> ET http://192.168.0.2:81/sharedimages/aboutthissite.gif
> >> 960326035.660 RELEASE FFFFFFFF  304 960311569        -1 960312769 unknown
> >> -1/0 G
> >> ET http://192.168.0.2:81/sharedimages/contactus.gif
> >> 960326035.660 RELEASE FFFFFFFF  304 960311569        -1 960312169 unknown
> >> -1/0 G
> >> ET http://192.168.0.2:81/images/GCSECon4551Img675.gif
> >> 960326035.660 RELEASE FFFFFFFF  304 960311569        -1 960312769 unknown
> >> -1/0 G
> >> ET http://192.168.0.2:81/sharedimages/newsandviews.gif
> >> 960326035.660 RELEASE FFFFFFFF  304 960311569        -1 960312169 unknown
> >> -1/0 G
> >> ET http://192.168.0.2:81/images/GCSECon4551Img62.gif
> >> 960326035.660 RELEASE FFFFFFFF  304 960311569        -1 960312169 unknown
> >> -1/0 G
> >> ET http://192.168.0.2:81/images/GCSECon4551Img637.gif
> >> 960326035.660 RELEASE FFFFFFFF  304 960311569        -1 960312769 unknown
> >> -1/0 G
> >> ET http://192.168.0.2:81/sharedimages/totoparrow.gif
> >
> >
Received on Wed Jun 07 2000 - 18:00:14 MDT

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