v.23.8Improvement

ClickHouse Server Respects cgroup Memory Limits on Configuration Reload

The ClickHouse server now respects memory limits changed via cgroups when reloading its configuration. #53455 (Robert Schulze).
The ClickHouse server now dynamically applies updated memory limits from cgroups upon configuration reload without requiring a restart.

Why it matters

This feature addresses the need to adjust memory limits for the ClickHouse server on-the-fly when cgroup configurations change, improving resource management and operational flexibility for users running ClickHouse in containerized or cgroup-managed environments.

How to use it

After modifying the memory limits in the relevant cgroup configuration, reload the ClickHouse server configuration (e.g., by sending a SIGHUP or using the appropriate service management command) to have the server recognize and enforce the new memory limits without restarting the server process.