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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 3.0.1
    • Networking
    • None
    • Fully Compatible
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: