Re: Adding a second cache_dir

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 25 Mar 1998 17:44:47 +0100

Damien Miller wrote:
> If I add a second cache_dir line and update my cache_swap, will
> squid start using the second drive?

Yes.

> Will it realise that the first drive is already at
> capacity?

No.

The problem is that 1.1.X uses a swapfile index number that is dependent
on the number of cache directories. If you add/remove a cache_dir then
all your objects needs to be renumbered.

Another problem with 1.1.X is that it assumes that the cache is evenly
distributed on all cache directories. It does not keep track of how much
of each directory that is used.

1.2 addresses both these problems.

---
Henrik Nrodström
Sparetime Squid Hacker
Received on Wed Mar 25 1998 - 10:25:44 MST

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