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

Evaluate mongod shutdown timing during connection storm

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Networking & Observability
    • N&O 2025-03-17, N&O 2025-03-31, N&O 2025-04-14
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      While investigating a connection storm scenario, we observed that mongod may continue to accept connections for a decent amount of time after receiving the SIGTERM signal. This can contribute to continued CPU overload. We should investigate this behavior and see if we can cleanly prevent the listener thread from accepting connections during shutdown (right now we just spam it with calls to stop() the reactor, there may be a better way).

            Assignee:
            michael.popov@mongodb.com Michael Popov
            Reporter:
            erin.mcnulty@mongodb.com Erin McNulty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None