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 BF8F186FE for ; Fri, 26 Aug 2011 21:00:42 +0000 (UTC) Received: (qmail 84480 invoked by uid 500); 26 Aug 2011 21:00:40 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 84421 invoked by uid 500); 26 Aug 2011 21:00:39 -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 84413 invoked by uid 99); 26 Aug 2011 21:00:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Aug 2011 21:00:39 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jens@couchbase.com designates 206.225.164.31 as permitted sender) Received: from [206.225.164.31] (HELO EXHUB020-4.exch020.serverdata.net) (206.225.164.31) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Aug 2011 21:00:33 +0000 Received: from EXVMBX020-1.exch020.serverdata.net ([169.254.4.169]) by EXHUB020-4.exch020.serverdata.net ([206.225.164.31]) with mapi; Fri, 26 Aug 2011 14:00:11 -0700 From: Jens Alfke To: "user@couchdb.apache.org" Date: Fri, 26 Aug 2011 14:00:09 -0700 Subject: Re: Emfile error Thread-Topic: Emfile error Thread-Index: AcxkMySaQRgVPOULRSeaEoIkG5WfZg== Message-ID: <46E94BFC-BB4E-4F96-B425-3BC995C79D50@couchbase.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_46E94BFCBB4E4F96B4253BC995C79D50couchbasecom_" MIME-Version: 1.0 --_000_46E94BFCBB4E4F96B4253BC995C79D50couchbasecom_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable On Aug 26, 2011, at 1:16 PM, Paul Davis wrote: 2. Increase the file descriptor limits and ephemeral port ranges if you're hitting system limits. Somebody made a popular series of blog posts back around 2005 or so, about = how to scale up a server to handle huge numbers of TCP connections. I think= he eventually got up to a million open sockets on one machine (in part by = stuffing it full of Ethernet cards to get around the 16-bit limit on port n= umbers.) I don=92t have them bookmarked, unfortunately, but they=92re proba= bly not too hard to search for. =97Jens --_000_46E94BFCBB4E4F96B4253BC995C79D50couchbasecom_--