Re: [squid-users] "This cache is currently building its digest."

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 09 Nov 2010 01:22:00 +0000

On Mon, 8 Nov 2010 09:02:37 -0500, david robertson <dr_at_nevernet.com>
wrote:
>> What is your digest rebuild time set to?
>> your cache_dir and cache_mem sizes?
>> and your negative_ttl setting?
>
> digest_rebuild_period 60 minutes
> negative_ttl 1 minute
> backends use a cache_dir of 20gb (8mb cache_mem)
> frontends use a cache_mem of 2gb (no cache_dir)
>

Okay, rebuild is long enough that it should have a period where completed.

negative_ttl is a worry, it will amplify any 4xx and 5xx errors into a
short term DoS for all clients. The proper setting is 0 seconds.

>
>> What do you get back when making a manual digest fetch from one of the
>> Squid?
>> squidclient -h $squid-visible_hostname
>> mgr:squid-internal-periodic/store_digest
>
> I get 'Invalid URL' when trying to hit
> mgr:squid-internal-periodic/store_digest
>
> I've since set up HTCP, and it seems to be working fine - however this
> brings up one additional (unrelated to original problem) question:
> Does 2.7 have support for forwarding HTCP CLR's? If so, it doesn't
> seem like it's working.

IIRC it does, but may require additional htcp_clr_access configuration to
permit it to be acted on.

Amos
Received on Tue Nov 09 2010 - 01:22:04 MST

This archive was generated by hypermail 2.2.0 : Tue Nov 09 2010 - 12:00:02 MST