Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-62735

We should change the swappiness warning to 0 or 1 in the installer

    XMLWordPrintable

Details

    • Untriaged
    • 0
    • Unknown

    Description

      Sometime ago we changed our docs to recommend a swappiness value of 1 for server deployments. See https://docs.couchbase.com/server/current/install/install-swap-space.html.

      However, in the installer we still warn if the value is not set to zero. E.g. on RH systems:

      SWAPPINESS=`cat /proc/sys/vm/swappiness`
      if [ "$SWAPPINESS" -ne "0" ]
      then
          cat <<EOF
      Warning: Swappiness is not set to 0.
      Please look at https://docs.couchbase.com/server/@@MAJ_MIN_VER@@/install/install-swap-space.html as for how to PERMANENTLY alter this setting.
      EOF
      fi
      

      And we have similar behavior on Debian and related systems.

      I suggest we change to warn if the swappiness value is not set to either zero or one.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ceej Chris Hillery
            dfinlay Dave Finlay
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty