Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-2938

Logging excessive warnings in Timer code affects performance.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.6
    • 0.10
    • C++ Broker
    • None

    Description

      The Timer code logs a warning if a timer callback is started late or overruns the start time for the next callback.

      In cases where there are a lot of these warnings, the time taken to do the logging itself severly worsens the situation. You can provoke such a warnings storm by starting a broker in a cluster and running:

      qpid-cpp-benchmark -q4 --send-arg --ttl=10000

      The log shows timer events that are increaesingly late and overrun by up to 30 seconds, and the test is very slow to complete, I gave up after 2 minutes when the lateness was up to 90 seconds.

      This warning storm has also been seen with out clustering but with a store, see https://bugzilla.redhat.com/show_bug.cgi?id=629756

      Attachments

        Activity

          People

            aconway Alan Conway
            aconway Alan Conway
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: