mirror of
https://github.com/20kaushik02/real-time-traffic-analysis-clickhouse.git
synced 2025-12-06 06:44:07 +00:00
ch config fixes
This commit is contained in:
parent
4caeda48c2
commit
e9752758e1
@ -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>
|
||||
|
||||
@ -20,7 +20,7 @@ clickhouse-server{{server_num}}:
|
||||
resources:
|
||||
limits:
|
||||
cpus: "0.50"
|
||||
memory: 100M
|
||||
memory: 1200M
|
||||
depends_on:
|
||||
- clickhouse-keeper1
|
||||
- clickhouse-keeper2
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user