mongod 2.4.10 does not delete PID file on exit

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.4.10, 2.6.3, 2.7.3
    • Component/s: Internal Code
    • None
    • Environment:
      x86_64
    • Linux
    • 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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

            Assignee:
            Kelsey Schubert
            Reporter:
            Stefan Seide
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: