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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Incomplete
    • 2.5.4
    • None
    • Internal Client
    • None
    • Ubuntu 13.10 x86_64, Boost 1.55/1.54
    • Linux
    • 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

            Unassigned Unassigned
            climax Pieter Willem Jordaan
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: