Return-Path: X-Original-To: apmail-zookeeper-user-archive@www.apache.org Delivered-To: apmail-zookeeper-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 05FE2EB0A for ; Tue, 28 May 2013 07:42:00 +0000 (UTC) Received: (qmail 45466 invoked by uid 500); 28 May 2013 07:41:59 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 44828 invoked by uid 500); 28 May 2013 07:41:53 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 44786 invoked by uid 99); 28 May 2013 07:41:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 May 2013 07:41:52 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of hbkrichards@gmail.com designates 209.85.220.52 as permitted sender) Received: from [209.85.220.52] (HELO mail-pa0-f52.google.com) (209.85.220.52) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 May 2013 07:41:46 +0000 Received: by mail-pa0-f52.google.com with SMTP id bg2so7594658pad.25 for ; Tue, 28 May 2013 00:41:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=SmJBF5IuJ/n/R3CMroxUualKB6UGaZQMBfP1Dkx4JQ0=; b=TtNv/IO9XT2PQcy0NKrKdvnPxukOyEZ6vexp0AwigwYuRoMFJFbBz1iUjXrVYFYRbm SRt9APKDRP1o5laWS9d4ZHjXsTm2RHWdtcsYylUy+BdT33jADLVVn/EuZ14Ir198RUm3 kNXX1/oQrk0TKCz9auNDlgIFYv33m1HbyUeIU1vWp4wK7HS9CGXxypohU9zWmsn/CzPC nbWrkbGgQ4ZB3LCVmGZp04QF9+Fzi3M/wbzDtKmz2wsvBislAZGK7nqM4G84eomfKNDb 8xk5rsvcpbMyXXin9VMCO8yFK2Nu3Q4RJFFwwbMQjMJvjENVPYf6bbMl5qR5CXtPsn2Q ob+w== MIME-Version: 1.0 X-Received: by 10.68.132.101 with SMTP id ot5mr32675312pbb.11.1369726886293; Tue, 28 May 2013 00:41:26 -0700 (PDT) Received: by 10.66.219.137 with HTTP; Tue, 28 May 2013 00:41:26 -0700 (PDT) Date: Tue, 28 May 2013 13:11:26 +0530 Message-ID: Subject: Clarification regarding maxClientCnxns parameter From: Richards Peter To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary=047d7b15a6777f390504ddc26401 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b15a6777f390504ddc26401 Content-Type: text/plain; charset=ISO-8859-1 Hi, I am new to zookeeper. I am using twitter's open source CEP project called storm. It uses zookeeper to store the state information. It is used internally by storm and our project is not using zookeeper to store any information. Few days back we had an issue in our setup. We debugged the issue and found that we had not increased the value of maxClientCnxns in the zoo.cfg file to meet our requirements. When we increased this value everything worked fine. I have a query related to the explanation of this parameter in http://zookeeper.apache.org/doc/r3.3.3/zookeeperAdmin.html#sc_advancedConfiguration The documentation says that, this is the max number of concurrent client connections that can be made from a single IP address to a single member of zookeeper ensemble. I would like to know whether clients connect to different machines in the ensemble for each connection. I mean is there a kind of load balancing taking place when a client tries to make connection to zookeeper ensemble. Why is there a restriction on per-zookeeper-server basis? I would also like to know whether virtual IPs are treated as different IPs by zookeeper. Will I be able to check this in some log file of zookeeper? Thanks, Richards Peter. --047d7b15a6777f390504ddc26401--