You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Bob Clary (JIRA)" <ji...@apache.org> on 2011/02/08 13:25:57 UTC

[jira] Commented: (COUCHDB-926) Compaction does not release file descriptors

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

Bob Clary commented on COUCHDB-926:
-----------------------------------

While the situation in 1.0.2 is much improved over 1.0.1, there are still cases where the deleted files are not released and are still held open by beam. I don't have specific steps to reproduce however it appears to be related to heavy load with couchdb crashing after compacting views and leaving the original file open.

> Compaction does not release file descriptors
> --------------------------------------------
>
>                 Key: COUCHDB-926
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-926
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 1.0.1
>         Environment: Ubuntu 9.04/10.4
>            Reporter: Russell van der Walt
>            Assignee: Filipe Manana
>             Fix For: 1.0.2, 1.1
>
>         Attachments: test_comp.sh
>
>
> When couch compacts a database, file descriptors of the deleted files are left open, causing the freed disk space to not be released to the system. With regular compaction, the system eventually runs out of disk space.
> There is a conversation thread in the user mailing list titled "Couch not releasing deleted files" that gives more insight into the problem, but I have been unable to find a bug report for it, so please accept my apologies if this has already been dealt with.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira