couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Damien Katz (JIRA)" <j...@apache.org>
Subject [jira] Closed: (COUCHDB-180) Too many view files may be held open, rendering CouchDB unusable
Date Mon, 22 Dec 2008 23:29:44 GMT

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

Damien Katz closed COUCHDB-180.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 0.9

> Too many view files may be held open, rendering CouchDB unusable
> ----------------------------------------------------------------
>
>                 Key: COUCHDB-180
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-180
>             Project: CouchDB
>          Issue Type: Bug
>          Components: JavaScript View Server
>    Affects Versions: 0.9
>         Environment: OS X 10.5.5
>            Reporter: Paul Carey
>             Fix For: 0.9
>
>         Attachments: COUCHDB-180.patch, test_for_open_files.js
>
>
> On trunk (rev 728285), CouchDB will hold onto view files for a certain request pattern.

> Once a threshold of open files has been exceeded, all requests to CouchDB will result
in {error,emfile}.
> The attached test case runs through the following sequence n times.
> delete db
> create db
> create doc
> query non existant view
> create view
> query view
> On my machine a value of about 250 for n is enough for the threshold to be exceeded.
Regardless, running lsof clearly shows CouchDB holding multiple refs to the same view file.
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message