Return-Path: Delivered-To: apmail-hadoop-zookeeper-user-archive@minotaur.apache.org Received: (qmail 66746 invoked from network); 15 Mar 2010 12:52:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Mar 2010 12:52:57 -0000 Received: (qmail 25859 invoked by uid 500); 15 Mar 2010 12:52:11 -0000 Delivered-To: apmail-hadoop-zookeeper-user-archive@hadoop.apache.org Received: (qmail 25804 invoked by uid 500); 15 Mar 2010 12:52:10 -0000 Mailing-List: contact zookeeper-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: zookeeper-user@hadoop.apache.org Delivered-To: mailing list zookeeper-user@hadoop.apache.org Received: (qmail 25791 invoked by uid 99); 15 Mar 2010 12:52:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Mar 2010 12:52:10 +0000 X-ASF-Spam-Status: No, hits=-0.8 required=10.0 tests=AWL,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [195.253.6.83] (HELO kmx10a.knipp.de) (195.253.6.83) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Mar 2010 12:52:03 +0000 Received: from localhost (localhost [127.0.0.1]) by kmx10a.knipp.de (Postfix) with ESMTP id 71B3DE2 for ; Mon, 15 Mar 2010 13:51:42 +0100 (MEZ) X-Knipp-VirusScanned: Yes Received: from kmx10a.knipp.de ([127.0.0.1]) by localhost (kmx10a.knipp.de [127.0.0.1]) (amavisd-new, port 10004) with ESMTP id aw8qsnYXaYVs for ; Mon, 15 Mar 2010 13:51:37 +0100 (MEZ) Received: from hp9000.do.knipp.de (hp9000.do.knipp.de [195.253.2.54]) by kmx10a.knipp.de (Postfix) with ESMTP id DD71178 for ; Mon, 15 Mar 2010 13:51:36 +0100 (MEZ) Received: from [195.253.2.105] (thrawn.do.knipp.de [195.253.2.105]) by hp9000.do.knipp.de (@(#)Sendmail version 8.13.3 - Revision 1.000 - 1st August,2006/8.13.3) with ESMTP id o2FCpaNm025546 for ; Mon, 15 Mar 2010 13:51:36 +0100 (MEZ) Message-ID: <4B9E2D98.6010300@knipp.de> Date: Mon, 15 Mar 2010 13:52:40 +0100 From: Michael Bauland User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: zookeeper-user@hadoop.apache.org Subject: maxClientCnxns X-Enigmail-Version: 0.95.4 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Hi, I've got another question regarding the connection limit. I sometimes get the following warning in my zookeeper log file: 15:33:46,351 - WARN [NIOServerCxn.Factory:2181:NIOServerCnxn$Factory@226] - Too many connections from /A.B.C.D - max is 10 However, I don't have maxClientCnxns defined in my zoo.cfg file and according to the documentation, omitting this should mean that the connections are unlimited: "maxClientCnxns [...] Setting this to 0 or omitting it entirely removes the limit on concurrent connections." Apart from this I'm still wondering why I've got more than 10 connections open at the same time, since I'm just working with 5-6 processes running in parallel and opening only one connection at a time. I'll need to investigate this a bit further. Any help on the warning and the maxClientCnxns parameter is appreciated. Cheers, Michael -- Michael Bauland michael.bauland@knipp.de bauland.tel