| 1 |
<?xml version="1.0"?> |
| 2 |
<yandex> |
| 3 |
<logger> |
| 4 |
<!-- Possible levels: https://github.com/pocoproject/poco/blob/develop/Foundation/include/Poco/Logger.h#L105 --> |
| 5 |
<level>debug</level> |
| 6 |
<log>${RSPAMD_TMPDIR}/clickhouse/clickhouse-server.log</log> |
| 7 |
<errorlog>${RSPAMD_TMPDIR}/clickhouse/clickhouse-server.err.log</errorlog> |
| 8 |
<size>1000M</size> |
| 9 |
<count>10</count> |
| 10 |
<!-- <console>1</console> --> <!-- Default behavior is autodetection (log to console if not daemon mode and is tty) --> |
| 11 |
</logger> |
| 12 |
|
| 13 |
<listen_host>127.0.0.1</listen_host> |
| 14 |
<http_port>${CLICKHOUSE_PORT}</http_port> |
| 15 |
|
| 16 |
<!-- Path to configuration file with users, access rights, profiles of settings, quotas. --> |
| 17 |
<users_config>${RSPAMD_TMPDIR}/users.xml</users_config> |
| 18 |
|
| 19 |
<!-- <listen_reuse_port>0</listen_reuse_port> --> |
| 20 |
|
| 21 |
<!-- <listen_backlog>64</listen_backlog> --> |
| 22 |
|
| 23 |
<max_connections>4096</max_connections> |
| 24 |
<keep_alive_timeout>3</keep_alive_timeout> |
| 25 |
|
| 26 |
<!-- Maximum number of concurrent queries. --> |
| 27 |
<max_concurrent_queries>100</max_concurrent_queries> |
| 28 |
|
| 29 |
<!-- Set limit on number of open files (default: maximum). This setting makes sense on Mac OS X because getrlimit() fails to retrieve |
| 30 |
correct maximum value. --> |
| 31 |
<max_open_files>256</max_open_files> |
| 32 |
|
| 33 |
<!-- Approximate size of mark cache, used in tables of MergeTree family. |
| 34 |
In bytes. Cache is single for server. Memory is allocated only on demand. |
| 35 |
You should not lower this value. |
| 36 |
--> |
| 37 |
<mark_cache_size>5368709120</mark_cache_size> |
| 38 |
|
| 39 |
<!-- Path to data directory, with trailing slash. --> |
| 40 |
<path>${RSPAMD_TMPDIR}/clickhouse/</path> |
| 41 |
|
| 42 |
<!-- Default profile of settings. --> |
| 43 |
<default_profile>default</default_profile> |
| 44 |
|
| 45 |
<!-- System profile of settings. This settings are used by internal processes (Buffer storage, Distibuted DDL worker and so on). --> |
| 46 |
<!-- <system_profile>default</system_profile> --> |
| 47 |
|
| 48 |
<!-- Default database. --> |
| 49 |
<default_database>default</default_database> |
| 50 |
|
| 51 |
<!-- Server time zone could be set here. |
| 52 |
|
| 53 |
Time zone is used when converting between String and DateTime types, |
| 54 |
when printing DateTime in text formats and parsing DateTime from text, |
| 55 |
it is used in date and time related functions, if specific time zone was not passed as an argument. |
| 56 |
|
| 57 |
Time zone is specified as identifier from IANA time zone database, like UTC or Africa/Abidjan. |
| 58 |
If not specified, system time zone at server startup is used. |
| 59 |
|
| 60 |
Please note, that server could display time zone alias instead of specified name. |
| 61 |
Example: W-SU is an alias for Europe/Moscow and Zulu is an alias for UTC. |
| 62 |
--> |
| 63 |
<!-- <timezone>Europe/Moscow</timezone> --> |
| 64 |
|
| 65 |
<!-- You can specify umask here (see "man umask"). Server will apply it on startup. |
| 66 |
Number is always parsed as octal. Default umask is 027 (other users cannot read logs, data files, etc; group can only read). |
| 67 |
--> |
| 68 |
<!-- <umask>022</umask> --> |
| 69 |
|
| 70 |
</yandex> |