Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-4831

Compass opening extra connections that remains opened

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • 1.27
    • Affects Version/s: 1.26.1
    • Component/s: Compass
    • None
    • Environment:
      MacOs Catalina 10.15.7
    • Not Needed

      Problem Description

      When i run MongoDB Compass and connect it to my local mongod instance, this generates several connections. 

      After closing mongodb compass, i still have some connections opened (db.serverStatus().connections gives me a "current" >= 10  when i should only get the one related to my mongo shell connection).

      It happens that eventhough Compass is closed, i have some jobs running called MongoDB Compass Helper (Renderer) working in background. Those ones are responsible for the extra connections, therefore closing them manually after i close Compass enables me to come back to only one connection.

      Expected Results

      I am expecting to get only the number of connections used (1 mongoshell and/or 1 NodejS driver).

       

      Additional Notes

      I installed MongodB manually and tried to install / uninstall Mongo DB Compass both using  the install_compass bin and the manual installation.

      I still have the same problem.

       

        1. connection log.png
          connection log.png
          129 kB
        2. connection number.png
          connection number.png
          109 kB
        3. running jobs.png
          running jobs.png
          140 kB

            Assignee:
            Unassigned Unassigned
            Reporter:
            jeromel.cuny@gmail.com Jerome Cuny
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: