Varnish malloc + swap

Viktor Villafuerte viktor.villafuerte at optusnet.com.au
Mon Sep 12 03:58:58 CEST 2016


On Mon 12 Sep 2016 04:08:04, Reinis Rozitis wrote:
> > Yes Linux RHEL6 and swappiness = 0. From my reading though varnish does
> > not follow this and it clearly appears so in my case.
> 
> It's not a setting for varnish rather than kernel (via sysctl).

Sure, what I wanted to say is that it makes no difference :)


> 
> 
> > Yes, that was my first thought too, to get rid of swap. But currently
> > it's there and there's not much I can do about it now. Possibly when
> > Varnish upgrade happens this could be changed but for now I'm stuck with
> > swap.
> 
> How so?
> You can dynamically turn off all the swaps with 'swapoff -a'  (
> http://linux.die.net/man/8/swapoff ).
> If there is a need later reenable with swapon.

That would be considered an architectural change and I cannot just do
it.. (corporate rules)


> 
> rr
> 
> 
> 
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc


v

-- 
Regards

Viktor Villafuerte
Optus Internet Engineering
t: +61 2 80825265



More information about the varnish-misc mailing list