Why aren't the vm.swappiness setting persistent across reboot even after mentioning explicitly in /etc/sysctl.conf file?

Solution Verified - Updated -

Issue

  • vm.swappiness value changes after reboot even though setting explicitly in /etc/sysctl.conf
  • vm.swappiness in /etc/sysctl.conf not taking affect after reboot
  • Why aren't the vm.swappiness setting persistent across reboot even after mentioning explicitly in /etc/sysctl.conf file?

Environment

  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.