Re: [squid-users] LRU Statistics

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Mon, 07 Jul 2008 09:01:20 +0200

On mån, 2008-07-07 at 11:37 +0800, Roy M. wrote:

> 1. Since memory is now 100% used, how do I know if there is a cache
> miss in mem 48.3%,
> how many % of them will trigger a LRU in memory cache?

What do you mean by trigger a LRU? That Squid removes the LRU object to
make room for new content?

If you enable
debug_options ALL,1 47,2

then Squid will log in cache.log when it has removed some disk content
by LRU. It is not as easy to get the memory removal policy logged as it
requires debug 20,3 which logs quite a bit...

Hmm... we really should add per store performance counters on this...

Regards
Henrik

Received on Mon Jul 07 2008 - 07:01:26 MDT

This archive was generated by hypermail 2.2.0 : Mon Jul 07 2008 - 12:00:04 MDT