Reduce logging frequency of "Slow session workflow loop"

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Service Arch 2022-11-28
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      On a completely idle mongod, this log message is reported every 10 seconds:

      {"t":{"$date":"2022-11-18T15:01:48.159+01:00"},"s":"I",  "c":"EXECUTOR", "id":6983000, "ctx":"conn1","msg":"Slow SessionWorkflow loop","attr":{"elapsed":{"totalMillis":10010,"activeMillis":10010,"receiveWorkMillis":0,"processWorkMillis":10007,"sendResponseMillis":3,"finalizeMillis":0}}}
      

      It seems like the intention of this log message is to indicate an abnormality, but it is actually being logged in the steady state of the system. We should avoid logging it so frequently.

            Assignee:
            Blake Oler
            Reporter:
            Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: