couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yurii Rashkovskii (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1295) couch_util:collate/3 leaks ports
Date Thu, 22 Sep 2011 17:11:26 GMT

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

Yurii Rashkovskii commented on COUCHDB-1295:
--------------------------------------------

Robert, you're right — it was middle of the night when I was reporting this. I think the
issue that I'm catching relates to the fact that some processes are leaked when you massively
create and delete databases thus they never release ports. Let me check more about this situation.

> couch_util:collate/3 leaks ports
> --------------------------------
>
>                 Key: COUCHDB-1295
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1295
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>            Reporter: Yurii Rashkovskii
>
> couch_util:collate/3 opens a port but never closes nor links to it. Unless I am missing
something, it leaks ports. The most trivial solution that comes to mind is to link to the
said port but I had problems with it as those processes didn't seem to die therefore port
leakage continued.
> Explicitly closing port after every operation seems to do the trick so far, but I admit
it is an ugly solution.
> Any ideas?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message