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 1B04247E2 for ; Tue, 10 May 2011 01:02:54 +0000 (UTC) Received: (qmail 5072 invoked by uid 500); 10 May 2011 01:02:53 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 5031 invoked by uid 500); 10 May 2011 01:02: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 5023 invoked by uid 99); 10 May 2011 01:02:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 May 2011 01:02:53 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of martin@attivio.com designates 66.227.116.198 as permitted sender) Received: from [66.227.116.198] (HELO mx01.attivio.com) (66.227.116.198) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 May 2011 01:02:46 +0000 X-ASG-Debug-ID: 1304989345-cc096b47b2e8-i9L50J Received: from bos0ex01.corp.attivio.com (bos0ex01.corp.attivio.com [10.1.1.81]) by mx01.attivio.com with ESMTP id sYqIWc7CZj5oGLUa for ; Mon, 09 May 2011 21:02:25 -0400 (EDT) X-Barracuda-Envelope-From: martin@attivio.com Received: from bos0ex01.corp.attivio.com ([10.1.1.81]) by bos0ex01.corp.attivio.com ([10.1.1.81]) with mapi; Mon, 9 May 2011 21:02:25 -0400 From: Martin Serrano To: "user@zookeeper.apache.org" Date: Mon, 9 May 2011 21:02:24 -0400 Subject: downsides of disabling ZooKeeper client session timeouts? Thread-Topic: downsides of disabling ZooKeeper client session timeouts? X-ASG-Orig-Subj: downsides of disabling ZooKeeper client session timeouts? Thread-Index: AcwOq4QciDYzAb5SR56vn3v+3KJvuQ== Message-ID: <9694A6C3D68A4249BD9E1A875B6BA81E0338A6F081@bos0ex01.corp.attivio.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_9694A6C3D68A4249BD9E1A875B6BA81E0338A6F081bos0ex01corpa_" MIME-Version: 1.0 X-Barracuda-Connect: bos0ex01.corp.attivio.com[10.1.1.81] X-Barracuda-Start-Time: 1304989345 X-Barracuda-URL: http://10.1.1.7:8000/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at attivio.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.0 tests=HTML_MESSAGE X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.63278 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 HTML_MESSAGE BODY: HTML included in message --_000_9694A6C3D68A4249BD9E1A875B6BA81E0338A6F081bos0ex01corpa_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, For one application, whenever we experience a session timeout, we just re-c= reate the client connection. This has mostly occurred in test environments= when the server was overloaded or when we had a misconfigured timeout that= was really low. As we started to create some general use client re-creati= on code, it occurred to me we could just disable the session timeout (set i= t to -1 or excessively large - not sure how). Are there downsides to thi= s? Are there cases where a client will permanently lose the ability to tal= k to a server even though new clients would have no issues? Thanks, -Martin --_000_9694A6C3D68A4249BD9E1A875B6BA81E0338A6F081bos0ex01corpa_--