[
https://issues.apache.org/jira/browse/BOOKKEEPER-290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13291693#comment-13291693
]
Sijie Guo commented on BOOKKEEPER-290:
--------------------------------------
@suja
yeah, this is an expected behavior because for each ledger there is a ledger
index file for it in bookie server.
you could set a limitation on open ledger files in bookie server by setting
openFileLimit. if number of ledgers opened in bookie server reaches
*openFileLimit* threshold, old ledger file will be evicted to close.
BTW, How many ledgers you write for you test? and what is your openFileLimit
setting?
> FileHandler leak at Bookkeeper server side - addEntry and readEntries for
> ledgerHandle
> --------------------------------------------------------------------------------------
>
> Key: BOOKKEEPER-290
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-290
> Project: Bookkeeper
> Issue Type: Bug
> Affects Versions: 4.0.0
> Reporter: suja s
>
> LSOF incrementing when the following 2 APIs are used
> LedgerHandle.java
> =================
> public void addEntry(byte[] data) throws InterruptedException, BKException {
> public Enumeration<LedgerEntry> readEntries(long firstEntry, long lastEntry)
> throws InterruptedException, BKException {
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira