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 |
316178,4 | Force a small buffer on agent logger | master | qtqa/tqtc-coin-ci | Status: MERGED | +2 | 0 |