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

Reply via email to