Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DAC186D98 for ; Sun, 17 Jul 2011 13:23:22 +0000 (UTC) Received: (qmail 26944 invoked by uid 500); 17 Jul 2011 13:23:22 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 26809 invoked by uid 500); 17 Jul 2011 13:23:21 -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 26801 invoked by uid 99); 17 Jul 2011 13:23:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Jul 2011 13:23:21 +0000 X-ASF-Spam-Status: No, hits=-2001.1 required=5.0 tests=ALL_TRUSTED,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; Sun, 17 Jul 2011 13:23:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D9BD184C5C for ; Sun, 17 Jul 2011 13:22:59 +0000 (UTC) Date: Sun, 17 Jul 2011 13:22:59 +0000 (UTC) From: "Alex Markham (JIRA)" To: dev@couchdb.apache.org Message-ID: <562057717.21001.1310908979888.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1885564287.20999.1310908859957.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (COUCHDB-1224) Couch crash after View compaction, unresponsive for 1-2 mins, view reindexes from scratch MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-1224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Markham updated COUCHDB-1224: ---------------------------------- Attachment: 1707couchcrashsnippetanon.txt A snippet of all the stack traces over the 2 mins the couch was unresponsive. > Couch crash after View compaction, unresponsive for 1-2 mins, view reindexes from scratch > ----------------------------------------------------------------------------------------- > > Key: COUCHDB-1224 > URL: https://issues.apache.org/jira/browse/COUCHDB-1224 > Project: CouchDB > Issue Type: Bug > Components: Database Core > Affects Versions: 1.0.2 > Environment: CentOS 5.6 Server, on XFS raid1 array. Running as user couchdb. Build was 1.0.3aaf28707-git - a patched version of 1.0.2 for COUCHDB-885 > Reporter: Alex Markham > Labels: compaction, corruption, view > Attachments: 1707couchcrashsnippetanon.txt > > > A largish couchdb database was running through its view compactions (we run 3 times a week) when it stopped responding to calls. I only realised after the event when the logs of queries to couch showed very long response times. > The last thing in the logs is: "View index compaction complete for " and then a bunch of stack traces, lasting a couple of minutes. > Couch is now reindexing the whole of that which will take hours > Perhaps because it got corrupted during the compaction? > eg. > [Sun, 17 Jul 2011 12:07:09 GMT] [info] [<0.30126.2013>] checkpointing view update at seq 1 for > [Sun, 17 Jul 2011 12:07:09 GMT] [info] [<0.13656.133>] checkpointing view update at seq 2103372 for -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira