Use the following parameters:
snapCount - number of transactions after which snapshot is taken (based on
your application's rate of transactions)
autopurge.snapRetainCount - how many snapshots to retain on disk (based on
how big your disk is)
autopurge.purgeInterval - how often to cleanup snapshots and commit logs
(based on how often you can afford snapshot activity)

Set appropriate values for these three properties based on you
application's usage pattern.




On Tue, May 13, 2014 at 11:36 PM, [email protected] <[email protected]>wrote:

> Zookeeper snapshot had drove me crazy!
> I had a 3 servers zookeeper cluster, and after very large  read/write
> operations.
> Zookeeper datalog and snapshot file size increasing very crazy.
> They reached to GB size very very very fast.
>
> How to prevent this?
>
> My environment is :
> OS: AIX
> JDK:IBM1.6
> ZooKeeper:3.3.6 (can't use 3.4.6, because AIX just has ksh)
>
>
>
> --
> View this message in context:
> http://zookeeper-user.578899.n2.nabble.com/How-to-prevent-or-stop-snapshot-tp7579874.html
> Sent from the zookeeper-user mailing list archive at Nabble.com.
>

Reply via email to