Details
-
Bug
-
Resolution: Duplicate
-
Major - P3
-
None
-
2.6.0
-
None
Description
When mongod/s starts up, if it is told to use a pidfile, it will overwrite that pidfile, even if that pidfile belongs to another mongod/s process that is currently running.
It should check to see if the pid in the pidfile is active and refuse to start if it is given a pidfile that corresponds to a running process.
(This was found on MongoDB 2.6.1 on Linux and is believed to be present on 2.6.3 ; found as part of an investigation of an issue on the MMS cloud servers)
Attachments
Issue Links
- duplicates
-
SERVER-7240 pidfile appears to be overwritten even when lock can not be obtained
-
- Closed
-