recommendation for swap space?

Michael S. Fischer michael at dynamine.net
Mon Apr 7 18:18:32 CEST 2008


On Mon, Apr 7, 2008 at 9:00 AM, Dag-Erling Smørgrav <des at linpro.no> wrote:
> Sascha Ottolski <ottolski at web.de> writes:
>  > now that my varnish processes start to reach the RAM size, I'm wondering
>  > what a dimension of swap would be wise? I currently have about 30 GB
>  > swap space for 32 GB RAM, but am wondering if it could even make sense
>  > to have no swap at all? My cache file is 517 GB in size.
>
>  Varnish does not use swap.

That said, it wouldn't make sense to entirely deallocate your swap
space, since the kernel may decide to page or swap out processes other
than Varnish.

--Michael



More information about the varnish-misc mailing list