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

Mongodb client connections get dropped quickly, leaving sockets in WAIT state.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Incomplete
    • Affects Version/s: 2.5.4
    • Fix Version/s: None
    • Component/s: Internal Client
    • Labels:
      None
    • Environment:
      Ubuntu 13.10 x86_64, Boost 1.55/1.54
    • Operating System:
      Linux
    • Steps To Reproduce:
      Hide

      Install mongodb 2.5.4, use 1000+ threads with ScopedDBConnection

      Show
      Install mongodb 2.5.4, use 1000+ threads with ScopedDBConnection

      Description

      When making connections to MongoDB from the C++ client driver, in the order of thousands, connections get dropped rapidly. This leaves too many sockets in the WAIT state when monitoring with netstat -nat | grep WAIT.

      This causes the application to be unable to create new connections to MongoDB and in turn becomes idle.

      Also CPU usage increases to almost 80% of the test computer's capacity during this phenomenon.

      During this process mongostat provides no insight as nothing database oriented is happening.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: