2 Commits

Author SHA1 Message Date
434ed8129f disable busy-waiting for lower cpu usage 2025-01-17 14:20:58 +03:00
c29a0f0d13 fix clickhouse profile typo 2024-12-09 21:04:41 +07:00
2 changed files with 4 additions and 3 deletions

View File

@ -5,7 +5,7 @@
<mark_cache_size>524288000</mark_cache_size> <mark_cache_size>524288000</mark_cache_size>
<profile> <profile>
<detault> <default>
<!-- https://clickhouse.com/docs/en/operations/settings/settings#max_threads --> <!-- https://clickhouse.com/docs/en/operations/settings/settings#max_threads -->
<max_threads>1</max_threads> <max_threads>1</max_threads>
<!-- https://clickhouse.com/docs/en/operations/settings/settings#max_block_size --> <!-- https://clickhouse.com/docs/en/operations/settings/settings#max_block_size -->
@ -18,6 +18,6 @@
<!-- <!--
https://clickhouse.com/docs/en/operations/settings/settings#output_format_parallel_formatting --> https://clickhouse.com/docs/en/operations/settings/settings#output_format_parallel_formatting -->
<output_format_parallel_formatting>0</output_format_parallel_formatting> <output_format_parallel_formatting>0</output_format_parallel_formatting>
</detault> </default>
</profile> </profile>
</clickhouse> </clickhouse>

View File

@ -11,7 +11,7 @@ services:
start_period: 1m start_period: 1m
plausible_events_db: plausible_events_db:
image: clickhouse/clickhouse-server:24.9.3.128-alpine image: clickhouse/clickhouse-server:24.3.3.102-alpine
restart: always restart: always
volumes: volumes:
- event-data:/var/lib/clickhouse - event-data:/var/lib/clickhouse
@ -47,6 +47,7 @@ services:
soft: 65535 soft: 65535
hard: 65535 hard: 65535
environment: environment:
- ERL_FLAGS=+sbwt none +sbwtdcpu none +sbwtdio none
- TMPDIR=/var/lib/plausible/tmp - TMPDIR=/var/lib/plausible/tmp
# required: https://github.com/plausible/community-edition/wiki/configuration#required # required: https://github.com/plausible/community-edition/wiki/configuration#required
- BASE_URL=${BASE_URL} - BASE_URL=${BASE_URL}