Browse Source

Purge ZK snapshots more frequently

It looks like 6 hours is too infrequent and is enough time for the
disk to fill up when we're busy.  Instead, purge old snapshots every
2 hours, which looks like it should give us plenty of headroom with
our current usage pattern.

Change-Id: Ieb92d052e633e9326c41367442f036cc333c40f2
changes/38/817038/1
James E. Blair 7 months ago
parent
commit
1a48e06b54
  1. 2
      playbooks/roles/zookeeper/templates/zoo.cfg.j2

2
playbooks/roles/zookeeper/templates/zoo.cfg.j2

@ -18,7 +18,7 @@ autopurge.snapRetainCount=3
# be separately controlled through snapRetainCount and
# defaults to the minimum value of 3. This will quickly fill the
# disk in production if not enabled. Works on ZK >=3.4.
autopurge.purgeInterval=6
autopurge.purgeInterval=2
maxClientCnxns=60
standaloneEnabled=true
admin.enableServer=true

Loading…
Cancel
Save