Re: [squid-users] swap.state question

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 28 Feb 2004 10:12:03 +0100 (CET)

On Fri, 27 Feb 2004, OTR Comm wrote:

> What database format is swap.state in?

None. It is a data file for Squid.

> Are there any existing tools that can pinpoint a particular entry in the
> cache by name?

swap.state has this information in the object number field.

> If not, can you point me to code routines in 3.0 that address swap.state
> during a purge?

see purgeRequest().

Please note that swap.state is only used by Squid during a cache rebuild.
The index over what is in the cache is kept in memory while Squid is
running and only changes is written to the swap.state to allow a cache
rebuild should Squid crash.

Regards
Henrik
Received on Sat Feb 28 2004 - 02:49:08 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:03 MST