v.23.5Improvement

Report CGroupCpuCfsPeriod and CGroupCpuCfsQuota in AsynchronousMetrics with cgroup v2 memory limits compliance during startup

Report CGroupCpuCfsPeriod and CGroupCpuCfsQuota in AsynchronousMetrics. - Respect cgroup v2 memory limits during server startup. #50379 (alekar).
Report CGroupCpuCfsPeriod and CGroupCpuCfsQuota in AsynchronousMetrics. Also improve server startup by respecting cgroup v2 memory limits.

Why it matters

This feature enhances monitoring by adding reports for CGroupCpuCfsPeriod and CGroupCpuCfsQuota to the AsynchronousMetrics, enabling better visibility into cgroup CPU resource constraints. Additionally, it ensures that during server startup, ClickHouse respects cgroup v2 memory limits, improving resource management and stability in containerized or cgroup-limited environments.

How to use it

Users receive these metrics automatically as part of the AsynchronousMetrics system and benefit from improved startup memory handling without additional configuration. To observe the new metrics, query the system.asynchronous_metrics table or configure monitoring to capture these values.