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

Logical Sessions grow continuously when replicaset is under load

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

      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).

       

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

              Created:
              Updated:
              Resolved: