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

mongod live locked

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.9.0, 4.4.5
    • None
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Storage - Ra 2021-01-25, Repl 2021-02-22

    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

              lingzhi.deng@mongodb.com Lingzhi Deng
              mark.weaver@trelica.com Mark Weaver
              Votes:
              1 Vote for this issue
              Watchers:
              48 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: