couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Joseph Davis (Commented) (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-1409) Look into manual GC
Date Tue, 14 Feb 2012 17:53:59 GMT


Paul Joseph Davis commented on COUCHDB-1409:

Was just about to say that we have seen a couple places with similar behavior and similar
results in BigCouch. Specifically couch_os_process pids can have this effect. The article
is missing the underlying reason but the HN comment is close enough. Simple fix is to call
erlang:garbage_collect() when processes are returned. I think there might be a few other places
we do similar things but nothing as significant as a couchjs processes.

Also, its possible that this might not be much of an issue for CouchDB. BigCouch deployments
can run in the hundreds to a thousand or so couchjs processes so it was a bit more of an issue
with those pids stealing RAM when they went idle. If the total number is smaller and they're
reused quite quickly then this issue shouldn't manifest, or at least not as drastically.
> Look into manual GC
> -------------------
>                 Key: COUCHDB-1409
>                 URL:
>             Project: CouchDB
>          Issue Type: Improvement
>            Reporter: Jan Lehnardt
> This just as a reminder to consider
(incl. comments)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message