On Feb 26, 2008, at 2:25 AM, Angela Williams wrote:
On Tuesday 26 February 2008, Ric wrote:
I'm wondering why we require "squid -z" before starting up Squid for
the first time. Is there some reason why Squid shouldn't do this
automatically when necessary?
Just a simple scenario?
I use a separate cache file system for all my many squid boxes.
Now for some reason one of the boxes get bounced and my squid cache
filesystem
fails to mount but squid comes up happily and say Oh look I don't
have any
cache directory structure so let me make one! Root filesystem is
limited in
space and then this dirty great big directory structure is created
and then
gets used by squid. In the twinkling of an eye the root filesystem
is full!
Ever tried to solve this kind of problem when the server is hundreds
of
kilometers away? Its phun!
Give me squid -z!!
Cheers
Ang
I'm wondering if this is better solved with a directive in squid.conf
to disallow (or allow if you prefer) the automatic creation of the
cache structure.
Ric