NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

xsnrg's avatar
xsnrg
Aspirant
Nov 21, 2013

swappiness issue

On the 3220:

# cat /proc/sys/vm/swappiness
0

This should probably be set to 1 or at least something higher than 0. Having this set at 0 causes the kernel to kill processes it deems idle instead of swapping them to disk. In my case, running a defrag through frontview takes enough system memory (on a 4G machine) that the kernel starts killing things to free resources. One of the things it kills is the webserver daemon. You see the problem here. The webserver is the web management interface of course.

Yes, swapping to disk will be a lot slower, but it should prevent the management interface from dying. If you did not have ssh enabled at this point, a restart is likely in your future. If you have ssh, you get the ability to issue a service apache2 restart.

4 Replies

Replies have been turned off for this discussion
  • I totally agree ... swapping makes things MUCH better.

    I've set it to 60 (linux default) and - no more hangs now.

    Regards,
    Roy

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More