Skip to content

Commit

Permalink
Merge pull request #2165 from ClickHouse/hanfei/soft-limit-observe
Browse files Browse the repository at this point in the history
add doc for cgroups_memory_observer_wait_time
  • Loading branch information
hanfei1991 authored Mar 27, 2024
2 parents 65ffdcf + 03e57e9 commit ac2db97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/en/guides/sre/keeper/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ ClickHouse Keeper can be used as a standalone replacement for ZooKeeper or as an
`False` by default.
- `max_memory_usage_soft_limit` — Soft limit in bytes of keeper max memory usage. Default value is `max_memory_usage_soft_limit_ratio` * `physical_memory_amount`.
- `max_memory_usage_soft_limit_ratio` — If `max_memory_usage_soft_limit` is not set or set to zero, we use this value to define the default soft limit. The default value is 0.9.
- `cgroups_memory_observer_wait_time`—If `max_memory_usage_soft_limit` is not set or is set to `0`, we use this interval to observe the amount of physical memory. Once the memory amount changes, we will recalculate Keeper's memory soft limit by `max_memory_usage_soft_limit_ratio`. The default value is 15 seconds.
- `http_control` — Configuration of [HTTP control](#http-control) interface.

Other common parameters are inherited from the ClickHouse server config (`listen_host`, `logger`, and so on).
Expand Down Expand Up @@ -1201,4 +1202,4 @@ While ClickHouse Keeper aims to be fully compatible with ZooKeeper, there are so
- [`removeWatch`](https://zookeeper.apache.org/doc/r3.9.1/apidocs/zookeeper-server/org/apache/zookeeper/ZooKeeper.html#removeWatches(java.lang.String,org.apache.zookeeper.Watcher,org.apache.zookeeper.Watcher.WatcherType,boolean)) and [`removeAllWatches`](https://zookeeper.apache.org/doc/r3.9.1/apidocs/zookeeper-server/org/apache/zookeeper/ZooKeeper.html#removeAllWatches(java.lang.String,org.apache.zookeeper.Watcher.WatcherType,boolean)) are not supported
- `setWatches` is not supported
- Creating [`CONTAINER`](https://zookeeper.apache.org/doc/r3.5.1-alpha/api/org/apache/zookeeper/CreateMode.html) type znodes is not supported
- [`SASL authentication`](https://cwiki.apache.org/confluence/display/ZOOKEEPER/Zookeeper+and+SASL) is not supported
- [`SASL authentication`](https://cwiki.apache.org/confluence/display/ZOOKEEPER/Zookeeper+and+SASL) is not supported

0 comments on commit ac2db97

Please sign in to comment.