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

XMLWordPrintableJSON

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

      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
            Reporter:
            Pieter Willem Jordaan
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: