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

Reduce logging frequency of "Slow session workflow loop"

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

      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@mongodb.com Blake Oler
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: