• Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0, 4.4.5
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Storage - Ra 2021-01-25, Repl 2021-02-22

      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).



        1. diagnostic.data.zip
          26.22 MB
        2. gdb.log
          840 kB
        3. Screenshot 2021-02-05 at 1.13.57 PM.png
          Screenshot 2021-02-05 at 1.13.57 PM.png
          137 kB
        4. txn.png
          185 kB

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