Re: 1.2 Cache Size (again)

From: Duane Wessels <wessels@dont-contact.us>
Date: Thu, 28 May 1998 17:13:54 -0600

Mark Cooke writes:

>/dev/hda5 247871 216025 31846 87% /usr/squid/cache

...

>1998/05/26 17:32:11| WARNING: Disk space over limit: 157363 KB > 153600 KB

Hi Mark,

I just thought of something you can try. Squid-1.2 will rebuild
the cache state by reading the directories if your swap.state
file is lost. So, you could

        1. shutdown squid
        2. rm /usr/squid/cache/swap.state
        3. restart squid

After it finishes reading the directories, it will report something
like this:

1998/05/28 17:12:09| storeRebuildFromDirectory: DIR #0 done!
1998/05/28 17:12:10| Finished rebuilding storage disk.
1998/05/28 17:12:10| 0 Entries read from previous logfile.
1998/05/28 17:12:10| 4873 Entries scanned from swap files.
1998/05/28 17:12:10| 0 Invalid entries.
1998/05/28 17:12:10| 0 With invalid flags.
1998/05/28 17:12:10| 4776 Objects loaded.
1998/05/28 17:12:10| 0 Objects expired.
1998/05/28 17:12:10| 0 Objects cancelled.
1998/05/28 17:12:10| 282 Duplicate URLs purged.
1998/05/28 17:12:10| 0 Swapfile clashes avoided.
1998/05/28 17:12:10| Took 140 seconds ( 34.1 objects/sec).
1998/05/28 17:12:10| Beginning Validation Procedure
1998/05/28 17:12:20| Completed Validation Procedure
1998/05/28 17:12:20| Validated 4591 Entries
1998/05/28 17:12:20| store_swap_size = 44260k

I'd be curious to see what yours says.

Duane W.
Received on Thu May 28 1998 - 16:17:47 MDT

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