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 169779454 for ; Tue, 25 Oct 2011 20:31:06 +0000 (UTC) Received: (qmail 31180 invoked by uid 500); 25 Oct 2011 20:31:04 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 31134 invoked by uid 500); 25 Oct 2011 20:31:04 -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 31126 invoked by uid 99); 25 Oct 2011 20:31:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Oct 2011 20:31:04 +0000 X-ASF-Spam-Status: No, hits=-0.6 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,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 pulpfree1@gmail.com designates 209.85.161.52 as permitted sender) Received: from [209.85.161.52] (HELO mail-fx0-f52.google.com) (209.85.161.52) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Oct 2011 20:30:59 +0000 Received: by faan26 with SMTP id n26so1276738faa.11 for ; Tue, 25 Oct 2011 13:30:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=+J5VkigI1JwgibwhEGytqXb/V2ygcWNcHpqsfIxGyUQ=; b=uGoCLTDDAEmJ0FLuGQWGJLrEDmoXvh7V1IQUeAGgsRslPrAJTAxsCutQJYbohEgaPZ RU3Y7Q/33EJtGbXnbkOVTLdvAon7EWizFPHf1gfWqcKqGfHN01XQjfxNQtIc9kuHyQ53 RQd2bauCzdPCCfkOHmJ/xuudzXTEIamI3s/XY= MIME-Version: 1.0 Received: by 10.223.77.71 with SMTP id f7mr53502081fak.33.1319574638693; Tue, 25 Oct 2011 13:30:38 -0700 (PDT) Received: by 10.223.159.7 with HTTP; Tue, 25 Oct 2011 13:30:38 -0700 (PDT) In-Reply-To: References: <4EA70E2C.6080104@gmail.com> Date: Tue, 25 Oct 2011 16:30:38 -0400 Message-ID: Subject: Re: Intermittent Connection Problems From: Ron Dyck To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 That's a bit out of my range of knowledge, but we're still in testing stage with the site. There really no traffic to speak of. ron On Tue, Oct 25, 2011 at 4:28 PM, Robert Newson wrote: > perhaps you're running out of file descriptors or ephemeral ports? > > On 25 October 2011 21:20, Ron Dyck wrote: >> I'm working with AWS EC2 instances and have ensured that the proper >> ports are open. I'm able to access the server from remote locations >> and test using curl successfully. The problem is that it's very >> inconsistent. Today, except for earlier in am it's working just fine. >> I'm wondering if the issue is latency, and connections are timing out. >> Is that a possibility? >> >> Cheers, >> ron >> >> On Tue, Oct 25, 2011 at 3:29 PM, CGS wrote: >>> Try to remove the firewall and see if it is working. If it still doesn't >>> work it may be a problem of permissions (if everything was installed >>> correctly) or path. >>> >>> >>> >>> >>> On 10/25/2011 02:58 PM, Ron Dyck wrote: >>>> >>>> I've been having intermittent connection problems with my couchdb >>>> installation. The error is: "Could not connect to server at >>>> :5984: '111: Connection refused' " >>>> >>>> I have a remote installation with the binding address set to 0.0.0.0 >>>> My installation is on a AWS linux instance: Amazon Linux AMI x86_64 >>>> using the https://github.com/iriscouch/build-couchdb install script. >>>> >>>> The problem is very sporadic, occasionally a reload of the page >>>> connects, most other times it does not. I've checked the logs >>>> immediately after the connection loss with no evidence of anything. >>>> When I test the connection locally: curl 127.0.0.1:5984 I get error >>>> connecting. The process is still running when I check ps ax | grep >>>> beam. I'm forced to kill the process and start the server. >>>> >>>> Currently we access the server from 3 different locations and my >>>> firewall is set to restrict access to port 5984 from specified IP >>>> addresses. >>>> >>>> Any help is really appreciated. >>>> >>>> Regards, >>>> ron >>> >>> >> >> >> >> -- >> ================= >> Ron Dyck >> pulpfree1@gmail.com >> www.webbtech.net >> ================= >> > -- ================= Ron Dyck pulpfree1@gmail.com www.webbtech.net =================