[squid-dev] [PATCH] external_acl_type cache=n docs

Amos Jeffries squid3 at treenet.co.nz
Mon Dec 28 00:36:26 UTC 2015


On 26/12/2015 11:15 a.m., Alex Rousskov wrote:
> Hello,
> 
>     The attached patch changes external_acl_type cache=n documentation
> to better reflect the [ugly] reality. The patch does not change how the
> cache works, but may help admins configure the cache correctly if they
> stumble upon this documentation.
> 
> A typical external ACL cache with the default cache settings consumes
> about 70 MB of RAM (more in many cases, e.g., if annotations are used
> with external ACLs). Besides memory usage, the default cache is using
> only 977 hash buckets for 262144 entries so there may be quite a bit of
> linear search going on by default.
> 
> If you think the default limit should be changed, please say so or file
> a bug report, but this specific patch is about fixing documentation only.
> 

+1.

Yes we need to fix the cache removal behaviour, and the buckets.

Amos



More information about the squid-dev mailing list