[jira] [Commented] (COUCHDB-1409) Look into manual GC

2014-11-16 Thread Alexander Shorin (JIRA)

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

Alexander Shorin commented on COUCHDB-1409:
---

[~rnewson] [~paul.joseph.davis] could you confirm that the recommendation from 
the referenced post are already applied with BigCouch merge? 

> Look into manual GC
> ---
>
> Key: COUCHDB-1409
> URL: https://issues.apache.org/jira/browse/COUCHDB-1409
> Project: CouchDB
>  Issue Type: Improvement
>Reporter: Jan Lehnardt
>
> This just as a reminder to consider 
> http://andy.wordpress.com/2012/02/13/erlang-is-a-hoarder/ (incl. comments)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (COUCHDB-1409) Look into manual GC

2012-02-14 Thread Paul Joseph Davis (Commented) (JIRA)

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

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: https://issues.apache.org/jira/browse/COUCHDB-1409
> Project: CouchDB
>  Issue Type: Improvement
>Reporter: Jan Lehnardt
>
> This just as a reminder to consider 
> http://andy.wordpress.com/2012/02/13/erlang-is-a-hoarder/ (incl. comments)

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




[jira] [Commented] (COUCHDB-1409) Look into manual GC

2012-02-14 Thread Robert Newson (Commented) (JIRA)

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

Robert Newson commented on COUCHDB-1409:


A further note that Cloudant have some operational experience (and deployed 
remedies) for this issue. A quick look indicates at least some of these made it 
into bigcouch already.

> Look into manual GC
> ---
>
> Key: COUCHDB-1409
> URL: https://issues.apache.org/jira/browse/COUCHDB-1409
> Project: CouchDB
>  Issue Type: Improvement
>Reporter: Jan Lehnardt
>
> This just as a reminder to consider 
> http://andy.wordpress.com/2012/02/13/erlang-is-a-hoarder/ (incl. comments)

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