You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Jiannan Wang (JIRA)" <ji...@apache.org> on 2013/09/14 10:51:52 UTC
[jira] [Commented] (BOOKKEEPER-684) ZK logging is oververbose, can
cause oom in tests
[ https://issues.apache.org/jira/browse/BOOKKEEPER-684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13767419#comment-13767419 ]
Jiannan Wang commented on BOOKKEEPER-684:
-----------------------------------------
With this change, the log file size of GcLedgersTest reduces from 19M to 49K.
> ZK logging is oververbose, can cause oom in tests
> -------------------------------------------------
>
> Key: BOOKKEEPER-684
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-684
> Project: Bookkeeper
> Issue Type: Bug
> Reporter: Ivan Kelly
> Assignee: Jiannan Wang
> Priority: Trivial
> Fix For: 4.2.2
>
> Attachments: BOOKKEEPER-684.patch
>
>
> Some tests, GcLedgerTests for example, create a lot of ledgers (30k) which causes a lot of zk writes. This causes a lot of zk logging, which can fill the log buffer and cause an oom when you're running with very little memory.
> Fix is trivial. zk should be set to only log at error level in log4j.properties.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira