Look at you providing support on the public zk forums ;-)

> On 3 Jun 2015, at 19:35, Adam Milne-Smith <[email protected]> wrote:
> 
> You may find it useful to reduce the pre-allocated transaction log size by 
> setting -Dzookeeper.preAllocSize
> 
> It's used in org.apache.zookeeper.server.persistence.FileTxnLog.
> 
>> On 3 Jun 2015 19:20, Benjamin Jaton <[email protected]> wrote:
>> 
>> Hello, 
>> 
>> I am noticing that my disk fills up with ZK transaction logs. A 65MB 
>> transaction log is created with each startup of ZooKeeper,. 
>> 
>> I have the purge enabled but it won't do anything as I have very little 
>> writes (if any), so the snapCount is never reached. 
>> 
>> Basically in the scenario where there are little writes, ZK will charge 
>> 65MB with each restart. 
>> 
>> Is that something to be expected? Can we tell ZK to reuse the last 
>> transaction log instead of creating a new one? 
>> 
>> Thanks! 
>> Ben 

Reply via email to