couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Eisenmann (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (COUCHDB-1652) CouchDB does not release disk space from .deleted files
Date Sat, 26 Jan 2013 12:55:12 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-1652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Simon Eisenmann updated COUCHDB-1652:
-------------------------------------

    Environment: Ubuntu 8.04, 10.04, 12.04 , CouchDB 1.2.0, CouchDB 1.2.1, Erlang 14b4 64bit
platform
    
> CouchDB does not release disk space from .deleted files
> -------------------------------------------------------
>
>                 Key: COUCHDB-1652
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1652
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 1.2
>         Environment: Ubuntu 8.04, 10.04, 12.04 , CouchDB 1.2.0, CouchDB 1.2.1, Erlang
14b4 64bit platform
>            Reporter: Simon Eisenmann
>
> I noticed on long running servers a disk space increase over time. Though the database
in itself did not grow. After investigation i found that there are lots of files still open
which have already been deleted.
> I see this on all installations on Ubuntu 8.04, 10.04 and 12.04 all 64bit with CouchDB
1.2.0 and 1.2.1 with Erlang 14b4.
> lsof |grep deleted
> beam.smp   4845  couchdb   24u      REG              254,1   5890159     171082
> /var/lib/couchdb/.delete/582878aeee568e3c06dc3262fdac494b (deleted)
> beam.smp   4845  couchdb   25u      REG              254,1   5890159     171080
> /var/lib/couchdb/.delete/95b92c25e3d7ea2f2045a2ee37afd8fe (deleted)
> beam.smp   4845  couchdb   26u      REG              254,1   5890183     171081
> /var/lib/couchdb/.delete/bb616c2baae507b7ec890451650e40c9 (deleted)
> beam.smp   4845  couchdb   27u      REG              254,1   5890159     244324
> /var/lib/couchdb/.delete/f7a4ba016d098c34f1ff97ca61a824f8 (deleted)
> beam.smp   4845  couchdb   28u      REG              254,1   5890159     171196
> CouchDB should release the file pointer on those files, to release the disk space to
tools like df.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message