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

Client runs out of connections with nested calls to DB.requestStart

      Initially we thought our clients lost their connection and couldn't recover, but
      we seem to run out of client connections to our primary after a while.

      We run a replicaset with secondary preferred and use requestStart/requestDone. In the testing we did, our server requests return correctly, however it seems the mongodb connections are never released.

      More details of the problem:

      https://groups.google.com/forum/?fromgroups=#!topic/mongodb-user/4lWrfaOB_EI

      Full threaddump attached from after the facts, where the client is "stuck" waiting for a connection while it's connectionsPerHost is maxed out.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jayv Jo Voordeckers
            Votes:
            4 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: