Return-Path: Delivered-To: apmail-hadoop-zookeeper-dev-archive@minotaur.apache.org Received: (qmail 32117 invoked from network); 9 Oct 2009 04:46:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Oct 2009 04:46:56 -0000 Received: (qmail 30311 invoked by uid 500); 9 Oct 2009 04:46:56 -0000 Delivered-To: apmail-hadoop-zookeeper-dev-archive@hadoop.apache.org Received: (qmail 30290 invoked by uid 500); 9 Oct 2009 04:46:56 -0000 Mailing-List: contact zookeeper-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: zookeeper-dev@hadoop.apache.org Delivered-To: mailing list zookeeper-dev@hadoop.apache.org Received: (qmail 30280 invoked by uid 99); 9 Oct 2009 04:46:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Oct 2009 04:46:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Oct 2009 04:46:52 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 95051234C4B1 for ; Thu, 8 Oct 2009 21:46:31 -0700 (PDT) Message-ID: <1598325196.1255063591608.JavaMail.jira@brutus> Date: Thu, 8 Oct 2009 21:46:31 -0700 (PDT) From: "Patrick Hunt (JIRA)" To: zookeeper-dev@hadoop.apache.org Subject: [jira] Commented: (ZOOKEEPER-541) zkpython limited to 256 handles In-Reply-To: <885616983.1254787531438.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/ZOOKEEPER-541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12763838#action_12763838 ] Patrick Hunt commented on ZOOKEEPER-541: ---------------------------------------- Henry, you want to make this "patch available", not "in progress". I seem to be locked out of doing that otw I would fix it. > zkpython limited to 256 handles > ------------------------------- > > Key: ZOOKEEPER-541 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-541 > Project: Zookeeper > Issue Type: Bug > Components: contrib-bindings > Affects Versions: 3.2.1 > Reporter: Patrick Hunt > Assignee: Henry Robinson > Fix For: 3.3.0 > > Attachments: ZOOKEEPER-541.patch > > > zkpython is currently limited to a max of 256 total handles - not 256 open handles, but rather 256 total handles created > over the lifetime of the python application. > In general this isn't a real issue, however in the case of a long lived application which polls the cluster periodically (closing > the session btw calls) this is an issue. > it would be great if the slots could be reused? or perhaps a more complex structure, such as a linked list, which would allow > dynamic growth/shrinkage of the handle list. > Also see ZOOKEEPER-540 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.