Re: Unidentified subject!

From: Oskar Pearson <[email protected]>
Date: Fri, 29 Jan 1999 13:45:17 +0200

Hi

> This is the cache statistics of my squid, can anyone tell me what is the Flags means?

> Filemap bits in use: 159680 of 315076 (51%)
> Flags: SELECTED

As far as I can tell it essentially means that that store directory is in
use. I am not very familiar with the code, but essentially:

When an object is stored to disk, storeDirMapAllocate is called to decide
which directory to save it to. storeDirMapAllocate sets selected with
this piece of code:

/* set selected flag for debugging/cachemgr only */
        Config.cacheSwap.swapDirs[dirn].flags.selected = 1;

I have no idea what this is all for, though.

Oskar

---
"Haven't slept at all. I don't see why people insist on sleeping. You feel
so much better if you don't. And how can anyone want to lose a minute -
a single minute of being alive?"				-- Think Twice
Received on Fri Jan 29 1999 - 04:41:50 MST

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