You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Sijie Guo (JIRA)" <ji...@apache.org> on 2012/06/08 12:49:23 UTC

[jira] [Commented] (BOOKKEEPER-290) FileHandler leak at Bookkeeper server side - addEntry and readEntries for ledgerHandle

    [ https://issues.apache.org/jira/browse/BOOKKEEPER-290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13291676#comment-13291676 ] 

Sijie Guo commented on BOOKKEEPER-290:
--------------------------------------

@suja

could you describe more about your issue?

are you writing/reading same ledger? or lots of different ledgers? If you are writing/reading different ledgers, each ledger would have a ledger index file in bookie server. there would be lots of files opened for writing/reading.
                
> 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.1.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