Re: [squid-users] startup: rebuild store/delay serving requests?

From: Matus UHLAR - fantomas <[email protected]>
Date: Fri, 26 Nov 2004 16:10:22 +0100

On 26.11 16:05, Elsen Marc wrote:
> > I see that on squid startup, is takes some time while squid
> > rebuilds its
> > storage and validates entries in it.
> >
> > What does that mean, what operations is squid doing in that time?
>
> - Guess like kind of 'fsck-ing' the store ; watching out
> for duplicate url's. Purging such cased e.d.
>
> > Doesn't that make responses somewhat slower?
>
> As it involves io and store access is locked (swap_fail_miss), probably.

Thanks for explanation.

> > I have a "farm" of 3 squid caches, hidden behind L3 switch, so I have
> > one IP that users connect to. If the squid is slower while rebuilding
> > and validating its storage, it is possible without any harm to
> > configure squid to do both actions first, and start serving requests
> > later.
>
> % squid -h
> ...
> -F Don't serve any requests until store is rebuilt
> ...

Oh, my mistake: sorry.

-- 
Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Fighting for peace is like fucking for virginity...
Received on Fri Nov 26 2004 - 08:10:25 MST

This archive was generated by hypermail pre-2.1.9 : Wed Dec 01 2004 - 12:00:02 MST