Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-3979

Mongo Connection pooling is going beyond the expected limit

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I am new to java and Mongo I am trying to set a max pool size of 100

      I am running a Load test in localhost I am seeing that the pool is getting re-used without any issues but the max pool size is not following the pool size I have given

      for 10k calls there are 300 connections in the pool where I have given only 100

      not sure how this is happening

       

       

      Attached is the code 

        1. code.java
          3 kB
          Sriram Nalla

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            nallas.sriram@gmail.com Sriram Nalla
            None
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None