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 B0300DC8A for ; Mon, 24 Sep 2012 15:19:03 +0000 (UTC) Received: (qmail 36438 invoked by uid 500); 24 Sep 2012 15:19:03 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 36383 invoked by uid 500); 24 Sep 2012 15:19:03 -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 36375 invoked by uid 99); 24 Sep 2012 15:19:03 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2012 15:19:03 +0000 Received: from localhost (HELO mail-wi0-f180.google.com) (127.0.0.1) (smtp-auth username kathleen, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2012 15:19:02 +0000 Received: by wibhm6 with SMTP id hm6so4267403wib.15 for ; Mon, 24 Sep 2012 08:19:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.180.87.34 with SMTP id u2mr15140207wiz.3.1348499940982; Mon, 24 Sep 2012 08:19:00 -0700 (PDT) Received: by 10.223.98.198 with HTTP; Mon, 24 Sep 2012 08:19:00 -0700 (PDT) In-Reply-To: References: Date: Mon, 24 Sep 2012 10:19:00 -0500 Message-ID: Subject: Re: About initLimit and syncLimit From: Kathleen Ting To: user@zookeeper.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Charles, initLimit measures how much time we anticipate the bootstrapping to need whereas syncLimit controls how far behind the Followers can fall behind the Leader. Sounds like you might be hitting ZOOKEEPER-1521. As a result, can you try increasing both initLimit and syncLimit on all ZK servers and then restarting? Regards, Kathleen On Mon, Sep 24, 2012 at 8:30 AM, charles charles wrote: > initLimit > Amount of time, in ticks (see tickTime), to allow followers to connect= and sync to a leader. Increased this value as needed, if the amount of dat= a managed by ZooKeeper is large. > > syncLimit > Amount of time, in ticks (see tickTime), to allow followers to sync wi= th ZooKeeper. If followers fall too far behind a leader, they will be dropp= ed. In zookeeper config file zoo.cfg, we can config above two para= meters, but just from above description, I can't know the difference betwee= n initLimit and syncLimit. Anyone can help me, tell me more about them= , since my server can't come up, maybe, reson in in these two parameters. > > Thx! Charles > > From: charles1104@outlook.com >> To: user@zookeeper.apache.org >> Subject: About initLimit and syncLimit >> Date: Mon, 24 Sep 2012 06:25:53 -0700 >> >> initLimitAmount of time, in ticks (see tickTime), to allow followers to = connect and sync to a leader. Increased this value as needed, if the amount= of data managed by ZooKeeper is large.syncLimitAmount of time, in ticks (s= ee tickTime), to allow followers to sync with ZooKeeper. If followers fall = too far behind a leader, they will be dropped. In zookeeper config= file zoo.cfg, we can config above two parameters, but just from above desc= ription, I can't know the difference between initLimit and syncLimit. = Anyone can help me, tell me more about them, since my server can't come = up, maybe, reson in in these two parameters. Thx! Charles >