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 2EDA57F74 for ; Thu, 11 Aug 2011 17:48:31 +0000 (UTC) Received: (qmail 18225 invoked by uid 500); 11 Aug 2011 17:48:29 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 18058 invoked by uid 500); 11 Aug 2011 17:48:28 -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 18050 invoked by uid 99); 11 Aug 2011 17:48:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Aug 2011 17:48:28 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of newmaniese@gmail.com designates 209.85.213.52 as permitted sender) Received: from [209.85.213.52] (HELO mail-yw0-f52.google.com) (209.85.213.52) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Aug 2011 17:48:23 +0000 Received: by ywo7 with SMTP id 7so2192689ywo.11 for ; Thu, 11 Aug 2011 10:48:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=sizFepivt0gldMtdNc2rz4YX5YL3zGRh0TInglUlLNc=; b=tKZbELTsxzXydHk2b5kufS807a2jVLq5gRusT/ZUT+pB0rmPRRFV7psoyBxqxwSiYF r+jSnesqknOJUzFthYU/FD6Ydst4oQCF4xHZJEOM1LaGDZ4e4/35k8aqVoHOh+8WeV33 OGigaUToTA7JRG84B3Pyizez0BIwrpAHhjFFE= Received: by 10.236.170.39 with SMTP id o27mr12964332yhl.106.1313084883099; Thu, 11 Aug 2011 10:48:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.42.163 with HTTP; Thu, 11 Aug 2011 10:47:43 -0700 (PDT) In-Reply-To: References: <297F39FD-EA1B-44A0-B5C3-5633F6CE5988@thenoi.se> From: Michael Date: Thu, 11 Aug 2011 13:47:43 -0400 Message-ID: Subject: Re: gen_server timeout To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=20cf302d4e2804625304aa3e66bf --20cf302d4e2804625304aa3e66bf Content-Type: text/plain; charset=ISO-8859-1 I just had the same thing happen last night after trying a bunch of reductions on a large set of data. All of a sudden all of my views were returning this error. This morning I came back to what I was working on and had the same problem, all views were just returning this error. I restarted the couch service and everything seemed to be back on track. Next time it happens I will certainly look for these processes. I am running 1.1, once I am done with my work today I will try the same reductions and see if happens again. I just wanted to throw in that I saw this recently as well. Thanks, Michael On Thu, Aug 11, 2011 at 1:30 PM, 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. > > 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 > > > > Sorry, I'm not familiar with erlang, so I'm not sure which bits are > pertinent, and there may well be more than one error trace in there. > > > > Any help would be greatly appreciated. > > > > Martin > > > > On 11 Aug 2011, at 11:14, Martin Hewitt wrote: > > > >> Hi all, > >> > >> I'm getting the following error when trying to load some views: > >> > >> > {"error":"timeout","reason":"{gen_server,call,[couch_query_servers,{get_proc,<<\"javascript\">>}]}"} > >> > >> Googling around, it seems this issue has been "fixed" way before I even > started using CouchDB. Any ideas what could be causing it now? > >> > >> Thanks, > >> > >> Martin > > > > > --20cf302d4e2804625304aa3e66bf--