CouchDB
  1. CouchDB
  2. COUCHDB-926

Compaction does not release file descriptors

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.1
    • Fix Version/s: 1.0.2, 1.1
    • Component/s: Database Core
    • Labels:
      None
    • Environment:

      Ubuntu 9.04/10.4

    • Skill Level:
      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.

      1. test_comp.sh
        0.6 kB
        Filipe Manana

        Issue Links

          Activity

            People

            • Assignee:
              Filipe Manana
              Reporter:
              Russell van der Walt
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development