From user-return-11236-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Wed Jan 31 13:11:03 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 218A4180662 for ; Wed, 31 Jan 2018 13:11:03 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 10FBD160C35; Wed, 31 Jan 2018 12:11:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 59616160C25 for ; Wed, 31 Jan 2018 13:11:02 +0100 (CET) Received: (qmail 8035 invoked by uid 500); 31 Jan 2018 12:10:56 -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 8023 invoked by uid 99); 31 Jan 2018 12:10:55 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Jan 2018 12:10:55 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 007A1C21D8 for ; Wed, 31 Jan 2018 12:10:55 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.552 X-Spam-Level: X-Spam-Status: No, score=-0.552 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=yandex.ru Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 44GhkhL3MkFZ for ; Wed, 31 Jan 2018 12:10:53 +0000 (UTC) Received: from forward105p.mail.yandex.net (forward105p.mail.yandex.net [77.88.28.108]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id C4EBC5FB2A for ; Wed, 31 Jan 2018 12:10:52 +0000 (UTC) Received: from mxback3o.mail.yandex.net (mxback3o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1d]) by forward105p.mail.yandex.net (Yandex) with ESMTP id DD7CF4081FDB for ; Wed, 31 Jan 2018 15:10:44 +0300 (MSK) Received: from localhost (localhost [::1]) by mxback3o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id ZJfiITYeKD-AiWanXMm; Wed, 31 Jan 2018 15:10:44 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1517400644; bh=OdQOXcV5cvZQazdlIjKhrKgsAwuBJjFWkauCGNVY/gM=; h=From:To:Subject:Message-Id:Date; b=cocfp9yTHBQGF8/ZkJKIb4TBTBxyyEiqUtg/UkmqL3OSfgODvOuvA15v2SsIOOP/G +4NgYOmCGq4FPIs9sILhUr2oOfWtKWKZyTxIJuKxOPkq4GXzWXuxJW0siPWblofYMV vXDpGIUUD7a3XojPK/YafR1WRArWfs5J3lUbJarU= Authentication-Results: mxback3o.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: by web54j.yandex.ru with HTTP; Wed, 31 Jan 2018 15:10:44 +0300 From: Alexei To: user@zookeeper.apache.org Subject: Timeouts on lock MIME-Version: 1.0 Message-Id: <341231517400644@web54j.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Wed, 31 Jan 2018 15:10:44 +0300 Content-Transfer-Encoding: 7bit Content-Type: text/plain Hello! We have 3 nodes Zoo cluster running 3.4.5+dfsg-1 on ubuntu 14. Client is python with 1.2.1 and (tried) 2.4.0 python-kazoo When I run simple script which set lock in loop it starts to time out after 1 or 2 set locks. What am I doing wrong? Script is here: http://paste.org.ru/?xqlivn Log is here: http://paste.org.ru/?zwr6u1 root@zk-gce-eu-2:~# echo mntr | nc -v localhost 2181 Connection to localhost 2181 port [tcp/*] succeeded! zk_version 3.4.5--1, built on 06/10/2013 17:26 GMT zk_avg_latency 0 zk_max_latency 203 zk_min_latency 0 zk_packets_received 2741185 zk_packets_sent 2963217 zk_num_alive_connections 24 zk_outstanding_requests 0 zk_server_state leader zk_znode_count 51 zk_watch_count 5 zk_ephemerals_count 44 zk_approximate_data_size 4770 zk_open_file_descriptor_count 68 zk_max_file_descriptor_count 8192 zk_followers 2 zk_synced_followers 2 zk_pending_syncs 0 Thank you. -- Grats, Alex.