On 02.03.12 16:47, David Touzeau wrote:
>I have a server with 8Go memory on 4 processors.
>Currently my squid proxy 3.2 and my Debian using around 2Go memory in
>the full production mode.
>
>I would like to try to add a kind of "temporary" cache in tmpfs using
>around 3.5go of Squid Cache./
That's what memory cache is for... while you loose it after restarting
squid, by using tmpfs you'd have duplicate data in memory...
>/Did it possible to do this on the squid.conf ? :/
yes.
>Means that the tmpfs is monted on /var/cache/squid-tmpfs
>Each instance will have 875 Mb on a tmpfs and when the size is full
>it will automatically start to run the standard cache based on disk.
No, squid can't distinct bedtween multiple cache_dirs like this.
This is just what memory cache is for...
If you have 64bit kernel, you can try increasing cache_mem to e.g. 4GB
-- Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin, 1759Received on Fri Mar 02 2012 - 15:55:11 MST
This archive was generated by hypermail 2.2.0 : Fri Mar 02 2012 - 12:00:02 MST