From c84dddf7085aaf252218a25d2464d292d0b1ffe0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arturo=20Filast=C3=B2?= Date: Thu, 9 Jan 2025 17:58:28 +0100 Subject: [PATCH] Increase clickhouse memory (#142) Related to: https://github.com/ooni/data/issues/105 --- ansible/group_vars/clickhouse/vars.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ansible/group_vars/clickhouse/vars.yml b/ansible/group_vars/clickhouse/vars.yml index f1ac524..5a3fec0 100644 --- a/ansible/group_vars/clickhouse/vars.yml +++ b/ansible/group_vars/clickhouse/vars.yml @@ -26,7 +26,7 @@ clickhouse_config: max_connections: 4096 keep_alive_timeout: 3 max_concurrent_queries: 100 - max_server_memory_usage: 21001001000 + max_server_memory_usage: 0 max_thread_pool_size: 10000 max_server_memory_usage_to_ram_ratio: 0.9 total_memory_profiler_step: 4194304 @@ -164,6 +164,7 @@ clickhouse_default_profiles: readonly: 1 write: readonly: 0 + max_memory_usage: 61001001000 clickhouse_listen_hosts: - "::"