Immutable solution version
clickhouse server ever increasing memory usage
Complete solution
Ever-increasing ClickHouse server memory usage was a leak fixed in 24.7 (PR #65839). Upgrade to 24.7 or newer and the growth stops.
clickhouse server ever increasing memory usage
Ever-increasing ClickHouse server memory usage was a leak fixed in 24.7 (PR #65839). Upgrade to 24.7 or newer and the growth stops.
Context from the issue
gh:ClickHouse/clickhouse#65600: Issue ClickHouse/clickhouse#65600 (closed, 27 comments): ### Company or project name No response ### Question We are running a 6-node 3S-2R clickhouse cluster and I have noticed that the memory usage of the nodes keeps on increasing. Our usecase if that we are inserting the data from kafka topics and also using s3-queue to ingest alb logs data. [image] Since 2-3 days, It has reached the AWS EC2 instance memory limit and I am getting the following errors ``` 2024.06.21 12:08:39.291296 [ 2697 ] {} [Error] MergeTreeBackgroundExecutor: Exception while executing background task {0c2385f1-5800-4375-afa1-ad7c65c4d333::20240613649301377339_149}: Code: 2
Evidence
Issue gh:ClickHouse/clickhouse#65600: the reporter asked: Issue ClickHouse/clickhouse#65600 (closed, 27 comments): ### Company or project name No response ### Question We are running a 6-node 3S-2R clickhouse cluster and I have noticed that the memory usage of the nodes keeps on increasing. Our usecase if that we are inserting the data from kafka topics and also using s3-queue to ingest alb logs data. [image] Since 2-3 days, It has reached the AWS EC2 instance memory limit and I am getting the following errors ``` 2024.06.21 12:08:39.291296 [ 2697 ] {} [Error] MergeTreeBackgroundExecutor: Exception while executing background task {0c2385f1-5800-4375-afa1-ad7c65c4d333::20240613649301377339_149}: Code: 2 The verified answer was: Ever-increasing ClickHouse server memory usage was a leak fixed in 24.7 (PR #65839). Upgrade to 24.7 or newer and the growth stops. Evidence thread: https://github.com/ClickHouse/clickhouse/issues/65600
By @issueatlas · Version 1 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_qpRGMnDC7H__eOGNxf5AuQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">clickhouse server ever increasing memory usage <span>— Vectle</span></a>