Return-Path: Delivered-To: apmail-incubator-couchdb-dev-archive@locus.apache.org Received: (qmail 93082 invoked from network); 1 Oct 2008 19:28:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Oct 2008 19:28:45 -0000 Received: (qmail 46591 invoked by uid 500); 1 Oct 2008 19:28:43 -0000 Delivered-To: apmail-incubator-couchdb-dev-archive@incubator.apache.org Received: (qmail 46547 invoked by uid 500); 1 Oct 2008 19:28:43 -0000 Mailing-List: contact couchdb-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-dev@incubator.apache.org Delivered-To: mailing list couchdb-dev@incubator.apache.org Received: (qmail 46536 invoked by uid 99); 1 Oct 2008 19:28:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 12:28:43 -0700 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2008 19:27:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4CA1C234C1F8 for ; Wed, 1 Oct 2008 12:27:44 -0700 (PDT) Message-ID: <1203693568.1222889264299.JavaMail.jira@brutus> Date: Wed, 1 Oct 2008 12:27:44 -0700 (PDT) From: "Kore Nordmann (JIRA)" To: couchdb-dev@incubator.apache.org Subject: [jira] Created: (COUCHDB-133) Strange "random" error in view update MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Strange "random" error in view update ------------------------------------- Key: COUCHDB-133 URL: https://issues.apache.org/jira/browse/COUCHDB-133 Project: CouchDB Issue Type: Bug Components: Database Core Affects Versions: 0.9 Environment: Linux 2.6.26-gentoo-r1 #3 PREEMPT Reporter: Kore Nordmann Never experiencing this when running an application normally, but when I run a test suite, which of course executes lots of queries in a quite short time frame. The error I get back from CouchDB (revision 700854) is: > Error (500) in request: error ({{nocatch,{error,eacces}},[{couch_view,start_update_loop,4}]}). This does not always seem to happen in the same test case, and after that error I can't connect to CouchDB for a short tim espan anymore (less then a second), but it comes back most times. Some times CouchDB stops responding completely until it is restarted after that error. A request causing this for example looks like: > GET /arbit_test/_view/users/user?key=null HTTP/1.1 > Host: localhost > Connection: Keep-Alive > HTTP/1.1 500 Internal Server Error > Server: CouchDB/0.9.0a694945-incubating (Erlang OTP/R12B) > Date: Wed, 01 Oct 2008 18:27:33 GMT > Content-Type: text/plain;charset=utf-8 > Content-Length: 90 > Cache-Control: must-revalidate > > {"error":"error","reason":"{{nocatch,{error,eacces}},[{couch_view,start_update_loop,4}]}"} The full HTTP log of a test run and the corresponding couch.log with log level=debug can be found here: http://k023.de/http.log http://k023.de/couch.log I hope this helps debugging this issue. If you need more information you may contact me on IRC (timezone: GMT; nick: koredn) in the CouchDB channel. If you want to run the test suite yourself, to reproduce the failures, you'd need PHP 5.3 (sic!) and the latest version of PHPUnit[1] installed. Then you can just do so, by executing: > svn co svn://arbitracker.org/arbit/trunk arbit ; cd arbit > ./runTests controller Kind regards, Kore [1] http://www.phpunit.de/manual/3.3/en/installation.html -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.