Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-2216

Logical Sessions grow continuously when replicaset is under load

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • 3.3.2
    • None

    Description

      Under normal conditions the number of connections is the same as the number of logical sessions (with node client "mongodb": "^3.3.2" and poolSize: 1).

      Under load (more instances of the same script) the number of logical sessions in $listLocalSessions grows inexplicably and 370 connections will create around 3000 logical sessions in 5 minutes. Also the number of sessions grows alongside the load (the bigger the qrw stat in mongostat is, faster the sessions will rise).

       

      Attachments

        Activity

          People

            daniel.aprahamian@mongodb.com Daniel Aprahamian (Inactive)
            vcirstean@bitdefender.com Vlad Cirstean
            Votes:
            2 Vote for this issue
            Watchers:
            14 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: