Skip to content

Clickhouse doesn't respect cpu and memory limits #110

@diafour

Description

@diafour

Relevant issues:
ClickHouse/ClickHouse#2261
ClickHouse/ClickHouse#1531

Clickhouse do not respect limits for cpu and memory and gets restarted by Kubernetes constantly.

Workaround 1: use the whole node for clickhouse — fix cpu and memory problems

Workaround 2: to limit the memory use these settings:
max_memory_usage_for_all_queries
use_uncompressed_cache
merge_tree_max_rows_to_use_cache

There is no settings for number of cpu cores until ClickHouse/ClickHouse#2261
is fixed.

Need a note about these settings usage in README, NOTES.txt and values.yaml.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions