conf.d прокидываю файлик config.xml приблизительно такого содержимого:
<?xml version="1.0"?>
<yandex>
<logger>
<level>warning</level>
</logger>
<listen_host replace="1">::</listen_host>
<max_server_memory_usage_to_ram_ratio replace="1">100</max_server_memory_usage_to_ram_ratio>
<max_concurrent_queries replace="1">1000</max_concurrent_queries>
</yandex>
<?xml version="1.0"?> <yandex> <logger> <level>warning</level> <log>/var/log/clickhouse-server/clickhouse-server.log</log> <errorlog>/var/log/clickhouse-server/clickhouse-server.err.log</errorlog> <size>100M</size> <count>7</count> </logger> <http_port>8123</http_port> <tcp_port>9000</tcp_port> <listen_host>0.0.0.0</listen_host> <max_connections>4096</max_connections> <max_memory_usage>0</max_memory_usage> <use_uncompressed_cache>1</use_uncompressed_cache> <max_server_memory_usage_to_ram_ratio>100</max_server_memory_usage_to_ram_ratio> <keep_alive_timeout>3</keep_alive_timeout> <max_concurrent_queries>100000</max_concurrent_queries>
Обсуждают сегодня