Details
-
Improvement
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
-
Server Security
-
Security 2023-10-16, Security 2023-11-13, Security 2024-01-08, Security 2024-02-19
Description
Currently we expose memory cgroup information in FTDC.
It would be beneficial to capture the effective CPU cgroup information in FTDC as well.
This would relay if a MongoDB service contained a systemd CPUQuota or are running a Kubernetes pod with a requests.cpu limit.
My thought was a calculated, fractional value under hostInfo.system that represents the effective number of cores this process could be scheduled on.
https://docs.kernel.org/scheduler/sched-bwc.html
https://www.freedesktop.org/software/systemd/man/systemd.resource-control.html