commit 153d6ba105b2ccb274f447db44aeaae78ffa757e
Author: Christopher de Oliveira Souza <email address hidden>
Date: Tue Jan 2 14:41:33 2024 -0300
Increase the number of audit worker threads
In this commit, the number of audit worker threads was increased
from 100 to 150 in order to prevent the audit to fall behind.
If the audit doesn't have enough threads to handle all the audit
requests, it will cause a queue of audit requests waiting for a free
thread to start auditing a subcloud. If this behavior continues,
it will increase the size of the queue and the audit will fall behind,
taking hours to empty the queue and stabilize again.
Test Plan:
PASS: Leave the audit running for one day and verify that the audit
didn't fall behind.
PASS: Upload and Apply a patch to systemcontroller and verify
that the subclouds went to out-of-sync.
Closes-bug: 2047852
Change-Id: I4e129b56ca0abfaea1e9998e466a439c76b33187
Signed-off-by: Christopher de Oliveira Souza <email address hidden>
Reviewed: https:/ /review. opendev. org/c/starlingx /distcloud/ +/904523 /opendev. org/starlingx/ distcloud/ commit/ 153d6ba105b2ccb 274f447db44aeaa e78ffa757e
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 153d6ba105b2ccb 274f447db44aeaa e78ffa757e
Author: Christopher de Oliveira Souza <email address hidden>
Date: Tue Jan 2 14:41:33 2024 -0300
Increase the number of audit worker threads
In this commit, the number of audit worker threads was increased
from 100 to 150 in order to prevent the audit to fall behind.
If the audit doesn't have enough threads to handle all the audit
requests, it will cause a queue of audit requests waiting for a free
thread to start auditing a subcloud. If this behavior continues,
it will increase the size of the queue and the audit will fall behind,
taking hours to empty the queue and stabilize again.
Test Plan:
PASS: Leave the audit running for one day and verify that the audit
didn't fall behind.
PASS: Upload and Apply a patch to systemcontroller and verify
that the subclouds went to out-of-sync.
Closes-bug: 2047852
Change-Id: I4e129b56ca0abf aea1e9998e466a4 39c76b33187
Signed-off-by: Christopher de Oliveira Souza <email address hidden>