Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-926

Compaction does not release file descriptors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.1
    • 1.0.2, 1.1
    • Database Core
    • None
    • Ubuntu 9.04/10.4

    • Committers Level (Medium to Hard)

    Description

      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.

      Attachments

        1. test_comp.sh
          0.6 kB
          Filipe David Borba Manana

        Issue Links

          Activity

            People

              fdmanana Filipe David Borba Manana
              rusvdw Russell van der Walt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: