v.1.1.54388Improvement

Cgroup Limits Considered in CPU Core Calculation

When calculating the number of available CPU cores, limits on cgroups are now taken into account (Atri Sharma).
ClickHouse now accounts for cgroup limits when calculating the number of available CPU cores.

Why it matters

This feature ensures that the CPU core count used by ClickHouse respects the resource restrictions imposed by cgroups, leading to more accurate resource utilization and preventing overcommitment in containerized or restricted environments.

How to use it

No explicit action is required from users. ClickHouse automatically considers cgroup CPU limits during runtime when determining available CPU cores.