ch config fixes

This commit is contained in:
Kaushik Narayan R 2024-11-27 10:22:46 -07:00
parent 4caeda48c2
commit e9752758e1
4 changed files with 16 additions and 1 deletions

View File

@ -10,6 +10,11 @@
<listen_host>0.0.0.0</listen_host>
<http_port>8123</http_port>
<tcp_port>9000</tcp_port>
<!-- https://clickhouse.com/docs/en/operations/tips#using-less-than-16gb-of-ram -->
<mark_cache_size>536870912</mark_cache_size> <!-- 512MB -->
<concurrent_threads_soft_limit_num>2</concurrent_threads_soft_limit_num>
<!-- Maximum connections and settings -->
<max_connections>4096</max_connections>
<keep_alive_timeout>3</keep_alive_timeout>

View File

@ -20,7 +20,7 @@ clickhouse-server{{server_num}}:
resources:
limits:
cpus: "0.50"
memory: 100M
memory: 1200M
depends_on:
- clickhouse-keeper1
- clickhouse-keeper2

View File

@ -10,6 +10,11 @@
<listen_host>0.0.0.0</listen_host>
<http_port>8123</http_port>
<tcp_port>9000</tcp_port>
<!-- https://clickhouse.com/docs/en/operations/tips#using-less-than-16gb-of-ram -->
<mark_cache_size>536870912</mark_cache_size> <!-- 512MB -->
<concurrent_threads_soft_limit_num>2</concurrent_threads_soft_limit_num>
<!-- Maximum connections and settings -->
<max_connections>4096</max_connections>
<keep_alive_timeout>3</keep_alive_timeout>

View File

@ -10,6 +10,11 @@
<listen_host>0.0.0.0</listen_host>
<http_port>8123</http_port>
<tcp_port>9000</tcp_port>
<!-- https://clickhouse.com/docs/en/operations/tips#using-less-than-16gb-of-ram -->
<mark_cache_size>536870912</mark_cache_size> <!-- 512MB -->
<concurrent_threads_soft_limit_num>2</concurrent_threads_soft_limit_num>
<!-- Maximum connections and settings -->
<max_connections>4096</max_connections>
<keep_alive_timeout>3</keep_alive_timeout>