Re: [squid-users] running cache in memory

From: Adrian Chadd <adrian@dont-contact.us>
Date: Thu, 21 Jun 2007 22:57:25 +0800

On Thu, Jun 21, 2007, andrew thornton wrote:
> Hello,
>
> I would like to keep my cache in memory and keep it off of my disks
> within my http-accelerator setup. I currently have 2GB of ram. Is
> there any way to do this without using ramdisks? I was told to remove
> swap from my squid server and to remove the cache_dir line from my
> configuration but I am skeptical. I appreciate any and all help.

You just compile squid with the null filesystem type and use that.

--enable-storeio="null"

then

cache_dir null /

iirc.

Adrian
Received on Thu Jun 21 2007 - 08:56:07 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Jul 01 2007 - 12:00:04 MDT