Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 104A5802D for ; Fri, 12 Aug 2011 10:28:10 +0000 (UTC) Received: (qmail 28788 invoked by uid 500); 12 Aug 2011 10:28:04 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 26982 invoked by uid 500); 12 Aug 2011 10:27:43 -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 26941 invoked by uid 99); 12 Aug 2011 10:27:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Aug 2011 10:27:38 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=MIME_QP_LONG_LINE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [109.169.49.54] (HELO zoe.mltserver-three.co.uk) (109.169.49.54) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Aug 2011 10:27:32 +0000 Received: from [212.183.140.54] (helo=[10.14.45.59]) by zoe.mltserver-three.co.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1QroxH-00038s-Ue for user@couchdb.apache.org; Fri, 12 Aug 2011 11:27:08 +0100 Subject: Re: gen_server timeout References: <297F39FD-EA1B-44A0-B5C3-5633F6CE5988@thenoi.se> From: Martin Hewitt Content-Type: text/plain; charset=us-ascii X-Mailer: iPhone Mail (8L1) In-Reply-To: Message-Id: <1CACAA18-C3E6-4921-91E3-53A40018CCA5@thenoi.se> Date: Fri, 12 Aug 2011 11:25:23 +0100 To: "user@couchdb.apache.org" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (iPhone Mail 8L1) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - zoe.mltserver-three.co.uk X-AntiAbuse: Original Domain - couchdb.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - thenoi.se X-Source: X-Source-Args: X-Source-Dir: Hi Paul, This, sadly, in my case, happens very rarely, but it is linked to a high loa= d of view rebuilds. I'll look into capturing the data you've asked for if I s= ee it happening again, and I'll also look into increasing the number of proc= esses.=20 Thanks for you help, Martin Sent from my iPhone On 11 Aug 2011, at 18:30, Paul Davis wrote: > When this happens can you do a "ps ax | grep couchjs" on the machine > hosting CouchDB? It sounds like you've hit the process limit (which is > configurable). Hard to say if this is because you have lots of > concurrent clients holding couchjs processes or if we're leaking them > out of the pool somehow. If you can show that there aren't any clients > holding them (ie, from view updates or long list calls) then I'd be > super intrigued to see if you can narrow it down to a test case. I've > heard a couple anecdotes about leakage here but never with enough > detail to start looking for a root cause. >=20 > On Thu, Aug 11, 2011 at 5:26 AM, Martin Hewitt wrote: >> I've put a log extract on Pastebin here: http://pastebin.com/PuJm08J0 >>=20 >> Sorry, I'm not familiar with erlang, so I'm not sure which bits are perti= nent, and there may well be more than one error trace in there. >>=20 >> Any help would be greatly appreciated. >>=20 >> Martin >>=20 >> On 11 Aug 2011, at 11:14, Martin Hewitt wrote: >>=20 >>> Hi all, >>>=20 >>> I'm getting the following error when trying to load some views: >>>=20 >>> {"error":"timeout","reason":"{gen_server,call,[couch_query_servers,{get_= proc,<<\"javascript\">>}]}"} >>>=20 >>> Googling around, it seems this issue has been "fixed" way before I even s= tarted using CouchDB. Any ideas what could be causing it now? >>>=20 >>> Thanks, >>>=20 >>> Martin >>=20 >>=20