Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 89820 invoked from network); 20 May 2009 12:52:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 May 2009 12:52:19 -0000 Received: (qmail 86818 invoked by uid 500); 20 May 2009 12:52:31 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 86736 invoked by uid 500); 20 May 2009 12:52:31 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 86726 invoked by uid 99); 20 May 2009 12:52:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 May 2009 12:52:31 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of somers.tim@gmail.com designates 209.85.217.170 as permitted sender) Received: from [209.85.217.170] (HELO mail-gx0-f170.google.com) (209.85.217.170) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 May 2009 12:52:23 +0000 Received: by gxk18 with SMTP id 18so805957gxk.11 for ; Wed, 20 May 2009 05:52:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=wo9mGcPneW/pDfXsisKSJS7Fc/18wZPGcM2Se0joW2Q=; b=pu/p2/AHzx3saLmJC3duRsoP37DDCDMnw6QBr3p52T/Yr2AJqGQ9k5sPBKBk3qWdsj PtB00OnJNQduWYWEbJvPYRu4bX6aUkiYSLyiIuenr75/ur17kCaOrQJdIE30+55TlWG5 fFAGI9bjEhXUsLDWYAVhjNuTK2SLe0PhZ4U6o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Q2H69IsDCJcv/LDV+fZ7gOb3KMYp2odz0FDNbKW9cLJHt2UZ56ZvWsMfDK5FBmtpdK pwiz43zeb6QHLnUygvPbiWTmXhWK4du+axnOVTmML24zErZI9aQtOdLsDCNB9U2FLjQy iIPF4/G3ZZZpmXrQRmdVsHXXf6je1VBEwJXx8= MIME-Version: 1.0 Received: by 10.151.75.8 with SMTP id c8mr2668824ybl.152.1242823922560; Wed, 20 May 2009 05:52:02 -0700 (PDT) In-Reply-To: <4EAAB095-4CFD-4645-AAD5-4321B34121B6@apache.org> References: <45ae90370905191531x793b0606l8b9241fa061ff82c@mail.gmail.com> <20090519233143.GE8115@tumbolia.org> <45ae90370905191937w49d2d870j3e7846e380463097@mail.gmail.com> <7fe7e0900905200315r48a0a0b0xd29d3a99b10da321@mail.gmail.com> <7fe7e0900905200503k52348822r84839b389ef785f3@mail.gmail.com> <4EAAB095-4CFD-4645-AAD5-4321B34121B6@apache.org> Date: Wed, 20 May 2009 12:52:02 +0000 Message-ID: <7fe7e0900905200552h1651d29fy1b49472e88f9e52d@mail.gmail.com> Subject: Re: couchdb kills itself From: Tim Somers To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=001e683789e76c2dc6046a577ec4 X-Virus-Checked: Checked by ClamAV on apache.org --001e683789e76c2dc6046a577ec4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit At first sight, I'm getting the same error once for each running process using couchdb, so that makes 5 times. I'll repeat my test though, and check if there's something different maybe in the first one. Tim On Wed, May 20, 2009 at 12:47 PM, Damien Katz wrote: > Are there more errors in the log? This error only makes sense to me if > something else is restarting, because of a configuration change or because > something else must have crashed beforehand. For example, running the test > suite restarts components during testing which could cause a crash like > this. > > -Damien > > > On May 20, 2009, at 8:03 AM, Tim Somers wrote: > > On Wed, May 20, 2009 at 11:57 AM, Paul Davis > >wrote: >> >> On Wed, May 20, 2009 at 6:15 AM, Tim Somers >>> wrote: >>> >>>> Hi, >>>> >>>> I'm getting the exact same error: >>>> >>>> [error] [<0.7002.0>] {error_report,<0.22.0>, >>>> {<0.7002.0>,crash_report, >>>> [[{pid,<0.7002.0>}, >>>> {registered_name,[]}, >>>> {error_info, >>>> {exit, >>>> {timeout, >>>> {gen_server,call, >>>> [couch_config, >>>> >>>> {register,#Fun,<0.7002.0>}]}}, >>>> [{gen_server,call,2}, >>>> {couch_httpd,handle_request,4}, >>>> {mochiweb_http,headers,5}, >>>> {proc_lib,init_p_do_apply,3}]}}, >>>> >>>> {initial_call,{mochiweb_socket_server,acceptor_loop,['Argument__1']}}, >>>> {ancestors, >>>> >>>> [couch_httpd,couch_secondary_services,couch_server_sup,<0.1.0>]}, >>> >>>> {messages,[]}, >>>> {links,[<0.52.0>,#Port<0.4751>]}, >>>> {dictionary,[]}, >>>> {trap_exit,false}, >>>> {status,running}, >>>> {heap_size,2584}, >>>> {stack_size,23}, >>>> {reductions,1669}], >>>> []]}} >>>> [error] [<0.52.0>] {error_report,<0.22.0>, >>>> {<0.52.0>,std_error, >>>> {mochiweb_socket_server,235, >>>> {child_error, >>>> {timeout, >>>> {gen_server,call, >>>> [couch_config, >>>> {register,#Fun, >>>> <0.7002.0>}]}}}}}} >>>> >>>> =ERROR REPORT==== 20-May-2009::12:02:45 === >>>> {mochiweb_socket_server,235, >>>> {child_error, >>>> {timeout, >>>> {gen_server,call, >>>> [couch_config, >>>> {register,#Fun,<0.7002.0>}]}}}} >>>> >>>> >>>> >>>> although it seems to happen when the system is overloaded. In total, I >>>> >>> have >>> >>>> 5 processing constantly reading from and writing to the same couchdb, >>>> >>> with a >>> >>>> resulting load average of about 3 and physical memory at it's limit. I >>>> >>> get >>> >>>> the impression (though it's hard to reproduce) that this error come at >>>> >>> the >>> >>>> moment the system is swapping some ram out to disk, making couchdb run >>>> >>> into >>> >>>> some timeout while calculating a view. >>>> Couchdb does stay online though, only crashing my app with an unusable >>>> result. >>>> >>>> >>> Can you check if couchdb actually stays alive or if it's getting >>> respawned by heart? The easiest way to test this is to run couchdb >>> with the command line without the init.d script. >>> >>> Erlang closes the entire VM when it's unable to acquire memory. Ie, if >>> malloc returns NULL, then the whole VM closes. The general idea being >>> that it'll just rely on heart to be restarted. >>> >>> Paul Davis >>> >>> I'm using svn version 776257 >>>> >>>> Tim >>>> >>>> >>> >> It stays alive, I always start it from command line. I use the svn version >> on port 5985, and the version installed by debian package manager on port >> 5984 for comparison. >> >> Tim >> > > --001e683789e76c2dc6046a577ec4--