Re[2]: [squid-users] No SWAPIN in store.log

From: Delcam <delcam_job@dont-contact.us>
Date: Wed, 03 Oct 2001 11:11:50 +0000 (GMT)

Ok, I get it, thank you. I have Squid 2.4 STABLE 2, so I think I'm not affected by the bug.

What about the second question?

Regards,
Dmitri

> Henrik Nordstrom wrote:
>
> Delcam wrote:
>
> > can I rely on RELEASE messages in the store.log?
> > How can I track up an event that an object is placed in the cache?
> > i.e. it was considered as cacheable, retrieved from the source and
> > stored somewhere (in-memory or on disk)?
>
> RELEASE you can rely on if using a reasonably modern version of Squid.
> However, in some older versions there has been bugs where RELEASE only
> was logged if the object was also cached in memory. If you see RELEASE
> entries with lots of ? in them then you are not affected by this old
> bug, if you only see RELEASE entries carrying a full URL and your cache
> is full then you quite likely have a Squid version with this bug.
>
> SWAPOUT can be more or less relied upon, but it does not tell you about
> what is being stored in the memory cache. The memory cache is always
> used, and there will either be a RELEASE with filenumber FFFFFFFF
> telling that the object was discarded and not permanently saved in the
> cache or a SWAPOUT telling that the object is cached.
>
> However, there are a few cases where things are not swapped out, and in
> such case I don't think anything is logged in store.log. These are:
> 1. Negatively cached responses
> 2. Responses which could not be cached on disk due to overload
>
> also I am not 100% sure how things behaves when using the "null" store.
>
> Regards
> Henrik Nordström
> Squid Hacker
>
Received on Wed Oct 03 2001 - 05:11:58 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:02:35 MST