couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Everton (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1129) file descriptors sometimes not closed after compaction
Date Fri, 14 Oct 2011 05:42:11 GMT

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

Dan Everton commented on COUCHDB-1129:
--------------------------------------

We're still seeing this issue with CouchDB 1.1.0. The database isn't under particularly heavy
write load but every single compaction leaks file handles. This is on R14B with the default
CouchDB command line settings.

beam.smp 5283 couchdb   13u   REG     253,9   80646251    770050 /apps/couchdb/.inventory_design/cee4a2835bdfb63165f1a2271260fef4.view
beam.smp 5283 couchdb   15u   REG     253,9 4025593965     49158 /apps/couchdb/inventory.couch
beam.smp 5283 couchdb   16u   REG     253,9 7186174063     49157 /apps/couchdb/.delete/e3ed87587b162839186b76c8c073cc2f
(deleted)
beam.smp 5283 couchdb   17u   REG     253,9 4025593965     49158 /apps/couchdb/inventory.couch
beam.smp 5283 couchdb   18u   REG     253,9      77913     49154 /apps/couchdb/_replicator.couch
beam.smp 5283 couchdb   23u   REG     253,9 7124119663     49155 /apps/couchdb/.delete/307d7d9ee4cb3593eb72d374e622fca4
(deleted)
beam.smp 5283 couchdb   58u   REG     253,9       4185     49153 /apps/couchdb/_users.couch
                
> file descriptors sometimes not closed after compaction
> ------------------------------------------------------
>
>                 Key: COUCHDB-1129
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1129
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 1.0.2
>            Reporter: Randall Leeds
>             Fix For: 1.2
>
>
> It seems there are still cases where file descriptors are not released upon compaction
finishing.
> When I asked on IRC rnewson confirmed he'd seen the behavior also and the last comment
on 926 also suggests there are still times where this occurs.
> Someone needs to take a careful eye to any race conditions we might have between opening
the file and subscribing to the compaction notification.

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

        

Mime
View raw message