python spawns mongocrypd and then on second invocation gives an error till that process is killed

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.9
    • Component/s: Encryption
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      First time running a stand-alone program execising FLE capability is fine, second time the error is:

      2019-09-20T17:21:05.019-0400 I  CONTROL  [initandlisten] Using lock file: /path/mongocryptd.pid
      2019-09-20T17:21:05.019-0400 E  CONTROL  [initandlisten] Failed to open pid file, exiting: DBPathInUse: Unable to lock the lock file: /path/mongocryptd.pid (Resource temporarily unavailable). Another mongod instance is already running on the /path directory
       

      Until the other process times out or till I kill it, I cannot run another test program.

              Assignee:
              Shane Harvey
              Reporter:
              Asya Kamsky
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: