Ralf Hildebrandt wrote:
Why is a newly created cache_dir considered "DIRTY"? From my log: 2009/10/21 13:23:53| ctx: enter level 0: 'h2009/10/21 13:39:23| Creating Swap Directories 2009/10/21 13:39:23| /squid-cache0 exists 2009/10/21 13:39:23| Making directories in /squid-cache0/00 2009/10/21 13:39:23| Making directories in /squid-cache0/01 2009/10/21 13:39:23| Making directories in /squid-cache0/02 2009/10/21 13:39:23| Making directories in /squid-cache0/03 2009/10/21 13:39:23| Making directories in /squid-cache0/04 2009/10/21 13:39:23| Making directories in /squid-cache0/05 2009/10/21 13:39:23| Making directories in /squid-cache0/06 2009/10/21 13:39:23| Making directories in /squid-cache0/07 2009/10/21 13:39:23| Making directories in /squid-cache0/08 2009/10/21 13:39:23| Making directories in /squid-cache0/09 2009/10/21 13:39:23| Making directories in /squid-cache0/0A 2009/10/21 13:39:23| Making directories in /squid-cache0/0B 2009/10/21 13:39:23| Making directories in /squid-cache0/0C 2009/10/21 13:39:23| Making directories in /squid-cache0/0D 2009/10/21 13:39:23| Making directories in /squid-cache0/0E 2009/10/21 13:39:23| Making directories in /squid-cache0/0F 2009/10/21 13:39:23| /squid-cache1 exists 2009/10/21 13:39:23| Making directories in /squid-cache1/00 2009/10/21 13:39:23| Making directories in /squid-cache1/01 2009/10/21 13:39:23| Making directories in /squid-cache1/02 2009/10/21 13:39:23| Making directories in /squid-cache1/03 2009/10/21 13:39:23| Making directories in /squid-cache1/04 2009/10/21 13:39:23| Making directories in /squid-cache1/05 2009/10/21 13:39:23| Making directories in /squid-cache1/06 2009/10/21 13:39:23| Making directories in /squid-cache1/07 2009/10/21 13:39:23| Making directories in /squid-cache1/08 2009/10/21 13:39:23| Making directories in /squid-cache1/09 2009/10/21 13:39:23| Making directories in /squid-cache1/0A 2009/10/21 13:39:23| Making directories in /squid-cache1/0B 2009/10/21 13:39:23| Making directories in /squid-cache1/0C 2009/10/21 13:39:23| Making directories in /squid-cache1/0D 2009/10/21 13:39:23| Making directories in /squid-cache1/0E 2009/10/21 13:39:23| Making directories in /squid-cache1/0F 2009/10/21 13:39:24| Starting Squid Cache version 3.0.STABLE19 for i486-pc-linux-gnu... 2009/10/21 13:39:24| Process ID 26154
<snip>
2009/10/21 13:39:24| Max Swap size: 28672000 KB 2009/10/21 13:39:24| Rebuilding storage in /squid-cache0 (DIRTY) 2009/10/21 13:39:24| Rebuilding storage in /squid-cache1 (DIRTY) DIRTY? Damn, it's NEW!!!
DIRTY == does not contain an index journal. Possibly broken. Requires a slow rebuild of the index by scanning every sub-dir in the cache to test for files.
Amos -- Please be using Current Stable Squid 2.7.STABLE7 or 3.0.STABLE19 Current Beta Squid 3.1.0.14