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

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

    • Type: Icon: Bug Bug
    • Resolution: Incomplete
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.5.4
    • Component/s: Internal Client
    • Labels:
      None
    • Environment:
      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

      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.

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

              Created:
              Updated:
              Resolved: