This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

A wrinkle with using the local content http filter database

Astaro has hte kernel swappiness set to 60.  I ahve 2 gigs of ram in my machine and as per the following thread I am using hte mem option:
https://community.sophos.com/products/unified-threat-management/astaroorg/f/55/t/44899

However since my ram usage stays below 40% there's no reason for the box to touch swap.  It turns out the default swappiness of the 2.6 linux kernel is 60.  This means the machine is more likely to keep files cached in ram and nOT evacuate them to disk when needed.  The swappiness value should be reduced to zero..here's how:

login as root to the box
joe /etc/sysctl.conf
at the bottom type vm.swappiness=0
ctrl-k x
reboot the box.


This thread was automatically locked due to age.
Parents Reply Children
  • Actually after looking at the Hardware reporting, the Mem is always at ~33%. and the swap is always at 0%..

    I guess there is no reason for using the tweak?
  • Actually after looking at the Hardware reporting, the Mem is always at ~33%. and the swap is always at 0%..

    I guess there is no reason for using the tweak?


    if you aren't swapping you don't HAVE to...however it's a good preventative measure..it's an option like all of my tips are..[:)]

    Owner:  Emmanuel Technology Consulting

    http://etc-md.com

    Former Sophos SG(Astaro) advocate/researcher/Silver Partner

    PfSense w/Suricata, ntopng, 

    Other addons to follow