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

mongod 2.4.10 does not delete PID file on exit

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: 2.4.10, 2.6.3, 2.7.3
    • Fix Version/s: None
    • Component/s: Internal Code
    • Labels:
      None
    • Environment:
      x86_64
    • Operating System:
      Linux
    • Steps To Reproduce:
      Hide

      add pidfilepath=/data/db/mongod.pid to config file
      start mongod
      stop mongod - the old pidfile is not deleted

      Show
      add pidfilepath=/data/db/mongod.pid to config file start mongod stop mongod - the old pidfile is not deleted

      Description

      my /etc/mongod.conf defines an pidfile. On server startup the pid file gets created with the correct process id in it.
      Terminating mongod with the provided init-script (upstart) does not delete the pid file and the file contains the old process id (it does not get cleared out as the lock file)

      System ubuntu 12.04 / 64bit
      MongoDB 2.4.10
      deb archve from http://downloads-distro.mongodb.org/repo/ubuntu-upstart

      Best regards

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kelsey.schubert Kelsey T Schubert
              Reporter:
              stefan@seide.st Stefan Seide
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: