Bluehost.com Web Hosting $6.95

Re: [squid-users] swap.state question

This is a discussion on Re: [squid-users] swap.state question within the Squid Users forums, part of the Web Server and Related Forums category; On Fri, 27 Feb 2004, OTR Comm wrote: > What database format is swap.state in? None. It is a ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2004
Henrik Nordstrom
 
Posts: n/a
Default Re: [squid-users] swap.state question

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

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 10:10 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0