You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Daniel Spicar (Created) (JIRA)" <ji...@apache.org> on 2011/09/28 13:09:45 UTC

[jira] [Created] (CLEREZZA-638) CRIS does not actually close file descriptors when optimizing

CRIS does not actually close file descriptors when optimizing
-------------------------------------------------------------

                 Key: CLEREZZA-638
                 URL: https://issues.apache.org/jira/browse/CLEREZZA-638
             Project: Clerezza
          Issue Type: Bug
         Environment: Linux (ext4 fs)
            Reporter: Daniel Spicar
            Assignee: Daniel Spicar


CRIS deletes unused files after optimize calls but keeps the file descriptors open. This seems to point to a problem of IndexReaders or IndexWriters that are not properly closed.

--
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

        

[jira] [Commented] (CLEREZZA-638) CRIS does not actually close file descriptors when optimizing

Posted by "Daniel Spicar (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13155942#comment-13155942 ] 

Daniel Spicar commented on CLEREZZA-638:
----------------------------------------

Additionally the open file descriptors grow much slower in the worst case scenario now. It used to grow exponentially and now it appears to grow linearly.
                
> CRIS does not actually close file descriptors when optimizing
> -------------------------------------------------------------
>
>                 Key: CLEREZZA-638
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-638
>             Project: Clerezza
>          Issue Type: Bug
>         Environment: Linux (ext4 fs)
>            Reporter: Daniel Spicar
>            Assignee: Daniel Spicar
>
> CRIS deletes unused files after optimize calls but keeps the file descriptors open. This seems to point to a problem of IndexReaders or IndexWriters that are not properly closed.

--
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

        

[jira] [Resolved] (CLEREZZA-638) CRIS does not actually close file descriptors when optimizing

Posted by "Daniel Spicar (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Spicar resolved CLEREZZA-638.
------------------------------------

    Resolution: Fixed

Optimizing will not close the file descriptors, but once the IndexReader is used again (next search) the open file descriptors will be closed. Before this did not happen.
                
> CRIS does not actually close file descriptors when optimizing
> -------------------------------------------------------------
>
>                 Key: CLEREZZA-638
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-638
>             Project: Clerezza
>          Issue Type: Bug
>         Environment: Linux (ext4 fs)
>            Reporter: Daniel Spicar
>            Assignee: Daniel Spicar
>
> CRIS deletes unused files after optimize calls but keeps the file descriptors open. This seems to point to a problem of IndexReaders or IndexWriters that are not properly closed.

--
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