Re: RELEASE in store.log

From: Duane Wessels <wessels@dont-contact.us>
Date: Thu, 1 Jul 1999 10:05:32 -0600

On Thu, 1 Jul 1999, Morin wrote:

> >From what I have understood in the FAQ and in the user's manual, the
> RELEASE tag in the store.log means that a file has been removed from the
> cache. (SWAPOUT means that a file has been written in the cache, and
> SWAPIN a file has been read from the chache, and has been put in the
> memory). If this is true, then how is it possible for a file to be
> removed (RELEASE) twice, without being written on the cache (SWAPOUT)
> between the two RELEASE?
> (here's what I've done to see this :

Its not exactly true.

Squid also logs RELEASE for objects that are never cached at all.

In other words, an uncachable response is logged as RELEASE
in store.log.

> *929377119.721 RELEASE 200 929368645 929364087 -2 text/html
> 7850/7850 GET http://canal-fr.afp.com/canal/fr/menu.htm -2/-2
> *929377119.896 SWAPOUT 200 929385883 929385763 -2 text/html
> 7904/7904 GET http://canal-fr.afp.com/canal/fr/menu.htm 1177/1177
>
> (The URL used is certainly not the only one in that case)
> Another question, if possible : why isn't there more elapsed time
> between the date of a file removal (RELEASE) and the date when the same
> file is written again (SWAPOUT) in the cache? (see the last two lines in
> the exemple)

Probably the user used the RELOAD button. The old object
got removed, and the new one got cached.

Duane W.
Received on Thu Jul 01 1999 - 09:52:27 MDT

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