Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 77949 invoked from network); 21 Dec 2010 15:26:27 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Dec 2010 15:26:27 -0000 Received: (qmail 77658 invoked by uid 500); 21 Dec 2010 15:26:27 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 77471 invoked by uid 500); 21 Dec 2010 15:26:27 -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 77460 invoked by uid 99); 21 Dec 2010 15:26:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Dec 2010 15:26:25 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Dec 2010 15:26:23 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oBLFQ1tW020514 for ; Tue, 21 Dec 2010 15:26:01 GMT Message-ID: <15606835.241581292945161427.JavaMail.jira@thor> Date: Tue, 21 Dec 2010 10:26:01 -0500 (EST) From: "Adam Kocoloski (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Commented: (COUCHDB-970) Server crashes after successfull compaction In-Reply-To: <24354930.491291045872819.JavaMail.jira@thor> 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-970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12973701#action_12973701 ] Adam Kocoloski commented on COUCHDB-970: ---------------------------------------- Hi Bob, that looks like a completely different issue to me. DB compaction and view compaction share almost no code. It's interesting that you don't see this with CouchDB 1.0.1; I don't recall any changes to the reference counting code that would have affected this timeout you saw. > Server crashes after successfull compaction > ------------------------------------------- > > Key: COUCHDB-970 > URL: https://issues.apache.org/jira/browse/COUCHDB-970 > Project: CouchDB > Issue Type: Bug > Components: Database Core > Affects Versions: 0.11.2 > Environment: Linux 2.6.18-194.11.3.el5 #1 SMP Mon Aug 30 16:19:16 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux > Reporter: Rudi Benkovic > Attachments: couch.log.errors > > > Our photos DB contains about 15K documents with 5-6 attachments per document which results in a ~41GB database. Compacting this database (by removing the original 30K documents to 15K) took a while, but after the temp file is successfully switched, it crashes the whole server with these errors: > ---------------------- > [Mon, 29 Nov 2010 15:24:52 GMT] [error] [<0.186.0>] ** Generic server <0.186.0> terminating > ** Last message in was {'$gen_cast', > {compact_done, > "/home/couchdb/photos.couch.compact"}} > ** When Server state == {db,<0.185.0>,<0.186.0>,<0.4488.3>, > <<"1291039821602632">>,<0.183.0>,<0.209.0>, > {db_header,5,320843,0, > {81045895963,{12262,39070}}, > {81045898520,51332}, > nil,0,nil,nil,1000}, > 320843, > {btree,<0.183.0>, > {81045895963,{12262,39070}}, > #Fun, > #Fun, > #Fun, > #Fun}, > {btree,<0.183.0>, > {81045898520,51332}, > #Fun, > #Fun, > #Fun, > #Fun}, > {btree,<0.183.0>,nil, > #Fun, > #Fun, > #Fun,nil}, > 320843,<<"photos">>,"/home/couchdb/photos.couch", > [],[],nil, > {user_ctx,null,[],undefined}, > nil,1000, > [before_header,after_header,on_file_open]} > ** Reason for termination == > ** {timeout, > {gen_server,call, > [<0.185.0>, > {db_updated, > {db,<0.185.0>,<0.186.0>,nil,<<"1291039821602632">>,<0.4617.3>, > <0.4619.3>, > {db_header,5,320843,0, > {44797036682,{12262,39070}}, > {44797027887,51332}, > nil,0,nil,nil,1000}, > 320843, > {btree,<0.4617.3>, > {44797036682,{12262,39070}}, > #Fun, > #Fun, > #Fun, > #Fun}, > {btree,<0.4617.3>, > {44797027887,51332}, > #Fun, > #Fun, > #Fun, > #Fun}, > {btree,<0.4617.3>,nil,#Fun, > #Fun, > #Fun,nil}, > 320843,<<"photos">>,"/home/couchdb/photos.couch",[],[], > nil, > {user_ctx,null,[],undefined}, > nil,1000, > [before_header,after_header,on_file_open]}}]}} > [Mon, 29 Nov 2010 15:24:52 GMT] [error] [<0.186.0>] {error_report,<0.29.0>, > {<0.186.0>,crash_report, > [[{pid,<0.186.0>}, > {registered_name,[]}, > {error_info, > {exit, > {timeout, > {gen_server,call, > [<0.185.0>, > {db_updated, > {db,<0.185.0>,<0.186.0>,nil, > <<"1291039821602632">>,<0.4617.3>,<0.4619.3>, > {db_header,5,320843,0, > {44797036682,{12262,39070}}, > {44797027887,51332}, > nil,0,nil,nil,1000}, > 320843, > {btree,<0.4617.3>, > {44797036682,{12262,39070}}, > #Fun, > #Fun, > #Fun, > #Fun}, > {btree,<0.4617.3>, > {44797027887,51332}, > #Fun, > #Fun, > #Fun, > #Fun}, > {btree,<0.4617.3>,nil, > #Fun, > #Fun, > #Fun,nil}, > 320843,<<"photos">>, > "/home/couchdb/photos.couch",[],[],nil, > {user_ctx,null,[],undefined}, > nil,1000, > [before_header,after_header,on_file_open]}}]}}, > [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}}, > {initial_call,{couch_db_updater,init,['Argument__1']}}, > {ancestors,[<0.185.0>,<0.182.0>]}, > {messages,[{'EXIT',<0.4488.3>,normal},{'EXIT',<0.185.0>,shutdown}]}, > {links,[]}, > {dictionary,[]}, > {trap_exit,true}, > {status,running}, > {heap_size,1346269}, > {stack_size,23}, > {reductions,16374254}], > []]}} > ---------------------- > Is this fixed in 1.0.1 or is this a new issue? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.