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

mongod live locked

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.9.0, 4.4.5
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4
    • Sprint:
      Storage - Ra 2021-01-25, Repl 2021-02-22
    • Case:

      Description

      We are encountering an issue with mongo-4.4.1 (4.4.0 also exhibited the issue) running under kubernetes using: https://hub.docker.com/layers/mongo/library/mongo/4.4/images/sha256-31f6433f7cfcd2180483e40728cbf97142df1e85de36d80d75c93e5e7fe10405?context=explore

      The problem is that occasionally the server will spin the CPU, and pile up connections running queries that never finish. It appears that most of them are waiting for a lock that is never unlocked, and they are stuck in that state – the actual TCP connections to the server get shut down by the clients, but server does not decrement the connection count. We can't reproduce this in a reliable fashion – it happens every few days.

      The previous version of mongo that we were using was 4.0.5 and we no problems there.

      If I can collect any other information please let me know (I have a core dump that I generated the backtraces from, but I can't attach that in case it contains user data).

      Thanks,

      Mark

        Attachments

        1. gdb.log
          840 kB
          Mark Weaver
        2. Screenshot 2021-02-05 at 1.13.57 PM.png
          137 kB
          Dinesh Chander
        3. txn.png
          185 kB
          Bruce Lucas

          Issue Links

            Activity

              People

              Assignee:
              lingzhi.deng Lingzhi Deng
              Reporter:
              mark.weaver@trelica.com Mark Weaver
              Participants:
              Votes:
              1 Vote for this issue
              Watchers:
              47 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: