Squid LOGs

From: George Amaro <george@dont-contact.us>
Date: Tue, 02 Mar 1999 09:05:28 -0300

Hello Squiders,

I have some problems to undestand the way squid is working, lookingm at its
logs files.

The situation:

1) When I'm first visiting a site, in access.log, I can see
   TCP_MISS. Ok! There is no reference for that file in the cache.

   When a file arrives, I see SWAPOUT in store.log. OK! It means that
   the file has been saved to cache.

2) When I, using another computer, ask for the same site (a few
   minutes after the first visit), using the tail -f
   command, I can see:

        - access.log -> TCP_REFRESH_HIT for a file from this
                                site (lets say an image file)
        - store.log -> RELEASE with 304 code for this file

Now, the questions:

1) If a file has been stored why this is released after a few minunes,
even receiving a return *Not Modfied* for an IMS request?

2) Why TCP_REFRESH_HIT and not TCP_HIT, once the fice is in the cache
was not modified in source?

TIA

-----------------------
George Amaro
TechNet ISP Staff
Brazilian Agricultural Research Enterprise
Network Engineering Group
Received on Tue Mar 02 1999 - 06:20:06 MST

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