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

Force a buffer on agent's remote logger

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Component/s: Agent
    • Labels:
      None
    • Technical Risk:
      Normal

      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            tosaario Toni Saario
            Reporter:
            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