Increase asynchronous_metrics_update_period_s to avoid syncing MemoryTracking with RSS

This commit is contained in:
Azat Khuzhin 2020-10-30 22:02:02 +03:00
parent 745cb4ab2f
commit 2832255164
2 changed files with 8 additions and 1 deletions

View File

@ -0,0 +1,4 @@
<yandex>
<!-- this update period also syncs MemoryTracking with RSS, disable this, by using period = 1 day -->
<asynchronous_metrics_update_period_s>86400</asynchronous_metrics_update_period_s>
</yandex>

View File

@ -8,7 +8,10 @@ from helpers.cluster import ClickHouseCluster
cluster = ClickHouseCluster(__file__) cluster = ClickHouseCluster(__file__)
instance = cluster.add_instance('instance', main_configs=['configs/conf.xml']) instance = cluster.add_instance('instance', main_configs=[
'configs/conf.xml',
'configs/asynchronous_metrics_update_period_s.xml',
])
@pytest.fixture(scope='module', autouse=True) @pytest.fixture(scope='module', autouse=True)