Re: [squid-users] squid.conf problem: squid doesn't use the memory at all

From: Henrik Nordstrom <>
Date: Mon, 19 Jul 2004 14:55:42 +0200 (CEST)

On Sun, 18 Jul 2004, George Hong wrote:

> But I found something weird and could not understand:
> I removed the directories in cache_dir and issued "squid -z" to remake
> them. The memory hit ratios is over 99%(via cachemanager). But when I
> completed shutdown squid then started it again, the memory hit ratios
> was only 30%.

This is due to how the cache_mem cache works.. it only stores objects
retrieved from the network. For objects stored in the disk cache Squid
relies upon the OS filesystem caching for performance.

There is plans on changing this in future to have a "real" memory cache,
but this is not yet a reality.

Received on Mon Jul 19 2004 - 06:55:49 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Aug 01 2004 - 12:00:02 MDT