Re: [squid-users] WARNING cache_mem is larger than total disk cache space!

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 21 May 2010 00:40:29 +1200

Georg Höllrigl wrote:
> Am 19.05.2010 16:40, schrieb Peng, Jeff:
>>
>> Can set cache_dir with a memory filesystem.
>>
>
> So it's not possible to just tell squid to store the cache items in ram
> without using a ramdisk?

Yes. Squid has it's own built-in ramdisk equivalent for memory caching
the most popular or recent objects.

It's size is defined by the cache_mem setting which may be used with or
without the disk caching.

To run diskless:

  * 3.0 and numerically lower there is a "null" disk type to set on
cache_dir line and override the default 100MB on-disk cache.

  * 3.1+ have no such default on-disk so removing all cache_dir lines is
the same end result.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.3
Received on Thu May 20 2010 - 12:40:37 MDT

This archive was generated by hypermail 2.2.0 : Thu May 20 2010 - 12:00:06 MDT