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 231E94679 for ; Thu, 23 Jun 2011 02:48:39 +0000 (UTC) Received: (qmail 47796 invoked by uid 500); 23 Jun 2011 02:48:38 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 47300 invoked by uid 500); 23 Jun 2011 02:48:34 -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 47292 invoked by uid 99); 23 Jun 2011 02:48:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2011 02:48:33 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [122.224.216.65] (HELO hzvscan2.utstar.com.cn) (122.224.216.65) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2011 02:48:28 +0000 Received: from cnmail01.cn.utstarcom.com (cnmail01.cn.utstarcom.com [172.18.22.151]) by hzvscan2.utstar.com.cn (8.13.8/8.13.8) with SMTP id p5N2lsDv005981 for ; Thu, 23 Jun 2011 10:47:55 +0800 Received: from CNMAIL12.cn.utstarcom.com ([172.18.22.156]) by cnmail01.cn.utstarcom.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 23 Jun 2011 10:47:54 +0800 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="GB2312" Content-Transfer-Encoding: quoted-printable Subject: ntp adjust to zookeeper X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Thu, 23 Jun 2011 10:48:01 +0800 Message-ID: <7DA4B654C7FEB24C9998EE4867BEE93EBC74D2@CNMAIL12.cn.utstarcom.com> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ntp adjust to zookeeper Thread-Index: AcwxSwudUpzIx4a8Q6aRvKFFJ1eBswAAkNww References: <7DA4B654C7FEB24C9998EE4867BEE93EBC74BE@CNMAIL12.cn.utstarcom.com> From: "Donna Li" To: X-OriginalArrivalTime: 23 Jun 2011 02:47:54.0530 (UTC) FILETIME=[F38EC820:01CC314F] my server configuration is as following: tickTime=3D1000 initLimit=3D5 syncLimit=3D2 client api: zookeeper_init(,,recv_timeout=3D2000,) So client will session expire by 2s if server can not receive the = heartbeat. Does the ntp max jump time =3D 2s? -----=D3=CA=BC=FE=D4=AD=BC=FE----- =B7=A2=BC=FE=C8=CB: Ted Dunning [mailto:ted.dunning@gmail.com]=20 =B7=A2=CB=CD=CA=B1=BC=E4: 2011=C4=EA6=D4=C223=C8=D5 10:12 =CA=D5=BC=FE=C8=CB: user@zookeeper.apache.org =D6=F7=CC=E2: Re: ntp adjust to zookeeper Large time jumps can cause problems because your sessions may expire surprisingly. It is best to keep your servers within a tight tolerance. Time jumps = may occur more seriously if you are using an over-subscribed VM (think small = EC2 instances). That can seriously confuse NTP and cause real problems. On Wed, Jun 22, 2011 at 6:34 PM, Donna Li wrote: > All: > > Could zookeeper cluster servers work normal after ntp adjust? > > > > > > Best Regards > > Donna li > >