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

Move the server PID file to /var/run for the System V Linuxes

    XMLWordPrintable

Details

    • Untriaged
    • Unknown

    Description

      We should move the PID file to /var/run - in a fashion similar to how we do it for moxi. /var/run is considered "tmpfs" and is cleared on reboot. VM / host abrupt restart is a failure mode that folks see from time to time and we'd like to clear the PID file in these cases.

      We only need to do this for the System V Linuxes - RedHat / CentOS 6; Ubuntu / Debian 12, 14; SUSE 11 as we integrate as a "simple service" with systemd where it's available and as we eschew PID files altogether.

      There's a separate ticket against ns_server to track removal of the PID file in graceful shutdown cases (MB-24291) - which is appropriate because ns_server creates the PID file.

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-24292
          # Subject Branch Project Status CR V

          Activity

            People

              amit.krishnan Amit Krishnan (Inactive)
              dfinlay Dave Finlay
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty