StoreDir rebuilding.

From: Chemolli Francesco (USI) <ChemolliF@dont-contact.us>
Date: Mon, 30 Oct 2000 11:38:56 +0100

I am unconvinced.

I recently needed to rebuild one of my storedirs. To force a
swap.state refresh, I removed it. This is the result:

2000/10/30 11:29:36| Rebuilding storage in /cache/d1 (CLEAN)
2000/10/30 11:29:36| Rebuilding storage in /cache/d2 (CLEAN)
2000/10/30 11:29:36| Rebuilding storage in /cache/d3 (CLEAN)
2000/10/30 11:29:36| Rebuilding storage in /cache/d4 (DIRTY)
2000/10/30 11:29:36| Rebuilding storage in /cache/d5 (CLEAN)

I was surprised when I found out that

-rw-r--r-- 1 squid squid 16061952 Oct 30 11:29 d1/swap.state
-rw-r--r-- 1 squid squid 13228800 Oct 30 11:39 d1/swap.state.new
-rw-r--r-- 1 squid squid 15248304 Oct 30 11:29 d2/swap.state
-rw-r--r-- 1 squid squid 13215360 Oct 30 11:39 d2/swap.state.new
-rw-r--r-- 1 squid squid 13818048 Oct 30 11:29 d3/swap.state
-rw-r--r-- 1 squid squid 13215984 Oct 30 11:39 d3/swap.state.new
-rw-r--r-- 1 squid squid 0 Oct 30 11:29 d4/swap.state
-rw-r--r-- 1 squid squid 13020480 Oct 30 11:39 d4/swap.state.new
-rw-r--r-- 1 squid squid 0 Oct 30 11:29 d5/swap.state

ALL the swap.state files were being rebuilt.
With a 20-something GB cache this is a slow operation.
What is the rationale behind this? IMO this is at least a mis-feature,
if not a bug.

-- 
	ing. Francesco Chemolli
Received on Mon Oct 30 2000 - 03:41:56 MST

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