Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-83867

Add a startup warning that swappiness is either 0 or 1 in linux

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • Fully Compatible
    • Security 2023-12-25

      Swappiness is an integer in stored in /proc/sys/vm/swappiness. We should read it at startup and issue a startup warning if it is not 0 or 1.

      Reference:
      https://askubuntu.com/questions/103915/how-do-i-configure-swappiness
      http://en.wikipedia.org/wiki/Swappiness

            Assignee:
            gabriel.marks@mongodb.com Gabriel Marks
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: