Uploaded image for project: 'Coin'
  1. Coin
  2. COIN-632

Force a buffer on agent's remote logger

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P3: Somewhat important
    • 1.4
    • None
    • Agent
    • None

    Description

      Currently agent sends the log line per line if the next log message does not arrive to the input channel before a append operation is done to a list which is very unlikely. This causes enormous amount of calls to the scheduler's appendtoagentlog RPC API. Possibly one reason why the scheduler sits at 100% cpu even if only 10 agent are running. Instead optional buffering it could be forced for time/lines to avoid sending 1000 calls per second if the log is proceeding fast.

      Easy reproduce is running only the licheck and seeing what happens during it's run.

      Attachments

        For Gerrit Dashboard: COIN-632
        # Subject Branch Project Status CR V

        Activity

          People

            tosaario Toni Saario
            tosaario Toni Saario
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes