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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 3.0.1
    • Fix Version/s: None
    • Component/s: Networking
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: