Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 81134 invoked from network); 3 Feb 2011 20:51:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Feb 2011 20:51:53 -0000 Received: (qmail 86669 invoked by uid 500); 3 Feb 2011 20:51:52 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 86527 invoked by uid 500); 3 Feb 2011 20:51:51 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 86518 invoked by uid 99); 3 Feb 2011 20:51:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 20:51:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 20:51:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id EF6F418C53D for ; Thu, 3 Feb 2011 20:51:28 +0000 (UTC) Date: Thu, 3 Feb 2011 20:51:28 +0000 (UTC) From: "Paul Joseph Davis (JIRA)" To: dev@couchdb.apache.org Message-ID: <1287397266.8411.1296766288977.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1546632454.3007.1296580589164.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (COUCHDB-1052) CouchDB crashes by Erlang Heartbeat Runtime System MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12990300#comment-12990300 ] Paul Joseph Davis commented on COUCHDB-1052: -------------------------------------------- http://www.youtube.com/watch?v=JmyXTOHC3w8&t=8m45s > CouchDB crashes by Erlang Heartbeat Runtime System > -------------------------------------------------- > > Key: COUCHDB-1052 > URL: https://issues.apache.org/jira/browse/COUCHDB-1052 > Project: CouchDB > Issue Type: Improvement > Components: Infrastructure > Affects Versions: 0.10.1, 1.0.1 > Environment: Solaris 10 > Reporter: Nicolas Maupu > Attachments: couchdb-bin-1.0.1.diff > > Original Estimate: 2h > Remaining Estimate: 2h > > Hello, > We have several couchdb in our production environment (starting from 0.10.1 and upgraded to 1.0.1). Some instances began to crash several times a day. > After research (I am not aware of all erlang tips and tricks), I found that the problem was caused by erlang heartbeat runtime system (http://www.erlang.org/doc/man/heart.html). > For some reasons (it seems to be a problem with system clock), this heartbeat process sends a signal to main erlang process to trigger HEARTBEAT_COMMAND. > The command configured by couchdb startup script is to call 'bin/couchdb -k' which kill server ... > I don't know if this is wanted or not but is Erlang heartbeat system provided to restart a service if this one crash ? > I patched mine to restart process gracefully but I would like to know if this is a feature or a bug : next time I upgrade, I will have to patch again. > My patch is a little bit specific to my architecture so I did not provide it. Ask me if you are interested. > nm. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira