Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-17797

opened connection count in "end connection" log messages not accurate

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.0.1
    • Component/s: Networking
    • None
    • Fully Compatible
    • ALL

      I created a MongoClient with the Java driver and made simultaneous requests from many threads, causing the connection pool to grow. When the MongoClient is closed all of those connections get closed very quickly. My MongoD log contains the following:

       
      2015-03-30T10:27:37.754-0400 I NETWORK  [conn620] end connection 127.0.0.1:57028 (11 connections now open)
      2015-03-30T10:27:37.754-0400 I NETWORK  [conn615] end connection 127.0.0.1:57023 (11 connections now open)
      2015-03-30T10:27:37.754-0400 I NETWORK  [conn616] end connection 127.0.0.1:57024 (11 connections now open)
      2015-03-30T10:27:37.754-0400 I NETWORK  [conn617] end connection 127.0.0.1:57025 (11 connections now open)
      2015-03-30T10:27:37.754-0400 I NETWORK  [conn618] end connection 127.0.0.1:57026 (10 connections now open)
      2015-03-30T10:27:37.754-0400 I NETWORK  [conn619] end connection 127.0.0.1:57027 (10 connections now open)
      2015-03-30T10:27:37.755-0400 I NETWORK  [conn611] end connection 127.0.0.1:57017 (6 connections now open)
      2015-03-30T10:27:37.755-0400 I NETWORK  [conn613] end connection 127.0.0.1:57019 (6 connections now open)
      2015-03-30T10:27:37.755-0400 I NETWORK  [conn614] end connection 127.0.0.1:57020 (6 connections now open)
      2015-03-30T10:27:37.755-0400 I NETWORK  [conn609] end connection 127.0.0.1:57015 (6 connections now open)
      2015-03-30T10:27:37.755-0400 I NETWORK  [conn610] end connection 127.0.0.1:57016 (6 connections now open)
      2015-03-30T10:27:37.755-0400 I NETWORK  [conn612] end connection 127.0.0.1:57018 (6 connections now open)
      

      The "connections now open" repeats, rather then counting down to 0.

            Assignee:
            backlog-server-platform DO NOT USE - Backlog - Platform Team
            Reporter:
            cory.mintz@mongodb.com Cory Mintz
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: