Merge pull request #11139 from ClickHouse/enable-mlock-by-default

Enable mlock of clickhouse binary by default
This commit is contained in:
alexey-milovidov 2020-05-23 12:10:08 +03:00 committed by GitHub
commit bb6949e346
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -227,7 +227,7 @@
and to prevent clickhouse executable from being paged out under high IO load.
Enabling this option is recommended but will lead to increased startup time for up to a few seconds.
-->
<mlock_executable>false</mlock_executable>
<mlock_executable>true</mlock_executable>
<!-- Configuration of clusters that could be used in Distributed tables.
https://clickhouse.tech/docs/en/operations/table_engines/distributed/