couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Dionne <dio...@dionne-associates.com>
Subject Re: CouchDb not releasing files
Date Sat, 25 Sep 2010 15:47:13 GMT



On Sep 25, 2010, at 11:15 AM, Randall Leeds wrote:

> On Sat, Sep 25, 2010 at 17:07, Robert Dionne
> <dionne@dionne-associates.com> wrote:
>> couch_file has a close function which presumably does the right thing, but it's only
called from couch_db_update:terminate
>> 
> 
> It just shuts down the process.

right, I'm just wondering how couch_db_update:terminate is ever called? Does it receive an
EXIT message? 


> The question on the table is whether
> that will close the raw file opened by the process as well. Stephen,
> can you reproduce the issue with .couch files if you set max_open_dbs
> really low (like 2) and repeatedly access three or four databases? If
> not, then I suspect it's a ref counting issue with the view index and
> not directly related to couch_file at all.
> 
> -Randall


Mime
View raw message