From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS33070 50.56.128.0/17 X-Spam-Status: No, score=0.0 required=5.0 tests=none shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: archivist@yhbt.net Delivered-To: archivist@dcvr.yhbt.net Received: from rubyforge.org (50-56-192-79.static.cloud-ips.com [50.56.192.79]) by dcvr.yhbt.net (Postfix) with ESMTP id 5206A1F5A8 for ; Fri, 27 Apr 2012 19:45:20 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id E59173AFF7; Fri, 27 Apr 2012 19:45:18 +0000 (UTC) X-Original-To: mongrel-unicorn@rubyforge.org Delivered-To: mongrel-unicorn@rubyforge.org Received: from mail-iy0-f178.google.com (mail-iy0-f178.google.com [209.85.210.178]) by rubyforge.org (Postfix) with ESMTP id 197F6263027 for ; Fri, 27 Apr 2012 19:45:11 +0000 (UTC) Received: by iakl21 with SMTP id l21so1740834iak.23 for ; Fri, 27 Apr 2012 12:45:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=qSJD6H3t1t4XhzrMPj4O8A0BtS0T3b72drbWQ59rXfE=; b=l5h/e+R1t1gBFmq1uffcUqB0/KctAjx3g1d1Yd4Fq5nZ/oXLRqvJ4MI1CpMn5PJXD2 IBQFVUlXrF+OCc923tU5vDcMkMoo4UyolntI5Erdo9OP+KaAoLrJabpuq7ZWPrpCsOIA nAc7Z/Tuy4/P3VIazlCcjB+tBEl+hWiJPkoTi9lg4uqE0XxIC6l1aQd3unCIUthQnlwE vjWHRFCv1d90huu9ncGjyWWY0UW4YQjMCjsffDiSRcbIzoaAyXR2PyqtIUkszBUQpTKM uvWkXYuohCJSyq0/GdCCc0PTnEG9SyeuTeRqp+0R/3yrrqMcllKrLU01p++4UwJz4Ws+ PIgg== MIME-Version: 1.0 Received: by 10.50.181.194 with SMTP id dy2mr3798999igc.48.1335555911794; Fri, 27 Apr 2012 12:45:11 -0700 (PDT) Received: by 10.42.76.74 with HTTP; Fri, 27 Apr 2012 12:45:11 -0700 (PDT) X-Originating-IP: [67.168.21.42] In-Reply-To: <20120427193256.GA31090@dcvr.yhbt.net> References: <20120427185940.GA27312@dcvr.yhbt.net> <20120427193256.GA31090@dcvr.yhbt.net> Date: Fri, 27 Apr 2012 12:45:11 -0700 Message-ID: Subject: Re: app error: Socket is not connected (Errno::ENOTCONN) From: Matt Smith To: Eric Wong X-Gm-Message-State: ALoCoQnOVMsb+pzzZ/4hJjGguNfSmFEaWBlIqQCob5zmxfjzJWV13DQ9bHQlyRVxL79/h33je17+ Cc: mongrel-unicorn , George , Joel Nimety X-BeenThere: mongrel-unicorn@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: mongrel-unicorn-bounces@rubyforge.org Errors-To: mongrel-unicorn-bounces@rubyforge.org > Yes, the addition of the shutdown() call[1] in 4.3.0 can cause ENOTCONN > occasionally. > > Ignoring the exception works, but given the cost of generating > exceptions in Ruby in the first place (especially 1.9), I don't > think it's a good idea... > > I can't reproduce this error. =A0Are you on a UNIX listener or TCP > listene? =A0What environment (OS/kernel version) is this? I am running OS X 10.7.3, ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.3.0]. I was going to try it on my linux dev machine in a bit. I can get you kernel version then, if it occurs. I am just running unicorn in local dev and hitting it with a browser (Safari Version 5.1.5 (7534.55.3)) on localhost:8080. In production, I use a UNIX listener. (I am seeing no errors in production.) _______________________________________________ Unicorn mailing list - mongrel-unicorn@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-unicorn Do not quote signatures (like this one) or top post when replying