diff options
author | Simon Westphahl <simon.westphahl@bmw.de> | 2022-01-07 11:00:24 +0100 |
---|---|---|
committer | James E. Blair <jim@acmegating.com> | 2022-01-11 13:28:34 -0800 |
commit | b9f35466a8c3c9d80276a29e5eb1e6c0dbd1385d (patch) | |
tree | 95f23c5ebb758e6d068f5ca4f2b1f128761f7db4 /playbooks | |
parent | 488c99dab31d8167291af3ddbfd7e73f4e125024 (diff) | |
download | zuul-b9f35466a8c3c9d80276a29e5eb1e6c0dbd1385d.tar.gz |
Compress ZKObject data
To save space in ZooKeeper compress the data of ZKObjects. This way we
can reduce the amount of data stored in some cases by a factor of 15x
(e.g. for some job znodes).
In case for data that is not yet compressed the ZKObject will fall back
to loading the stored JSON data directly.
Change-Id: Ibb59d3dfc1db0537ff6d28705832f0717d45b632
Diffstat (limited to 'playbooks')
-rw-r--r-- | playbooks/zuul-tox/pre.yaml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/playbooks/zuul-tox/pre.yaml b/playbooks/zuul-tox/pre.yaml index c8c1c6500..166875a6b 100644 --- a/playbooks/zuul-tox/pre.yaml +++ b/playbooks/zuul-tox/pre.yaml @@ -4,3 +4,13 @@ - run-dstat - role: ensure-zookeeper zookeeper_use_tls: true + tasks: + # This is needed to run opendev unit test jobs under bionic/focal, + # but may not be necessary in later releases + - name: Increase open file limit + become: True + lineinfile: + path: /etc/security/limits.conf + line: '* soft nofile 4096' + - name: Reset SSH connection + meta: reset_connection |