Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1986

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

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.9
    • Component/s: Encryption
    • 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@mongodb.com Shane Harvey
            Reporter:
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: