On Thu, Sep 29, 2011 at 10:12 PM, Jasper Kremer <jasper.kre...@nedap.com>wrote:
> 1) Embedded ZooKeeper > Because ram is limited (128MB) I would like to run ZooKeeper embedded in > our current Java App. > This way starting up 2 VM could be avoided. But it seems that this is the > recommended way? > Yes. That would be fine. > 2) File size of log files. > As I understand the data is stored in the log file. > The log file in > /export/crawlspace/mahadev/zookeeper/server1/data/version-2/ is quit big. > For example log.1 is about 65MB. > In our case we will not store a lot of data and there is only limited > flash-space (256MB). > Is it possible to limit the size of the log.1 file? > What is your need for persistence? If none, you may consider disabling logging entirely with a code change. You should also be able to adjust the snapshot interval which should help moderate the log size.