Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 86163 invoked from network); 23 Mar 2011 15:35:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Mar 2011 15:35:46 -0000 Received: (qmail 80554 invoked by uid 500); 23 Mar 2011 15:35:46 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 80493 invoked by uid 500); 23 Mar 2011 15:35:46 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 80484 invoked by uid 99); 23 Mar 2011 15:35:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Mar 2011 15:35:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Mar 2011 15:35:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id AE5A046BBD for ; Wed, 23 Mar 2011 15:35:05 +0000 (UTC) Date: Wed, 23 Mar 2011 15:35:05 +0000 (UTC) From: "Mark Thomas (JIRA)" To: issues@commons.apache.org Message-ID: <2001527240.6240.1300894505710.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <30481292.150911294193806145.JavaMail.jira@thor> Subject: [jira] [Commented] (POOL-180) Max active per key can be exceeded by one MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/POOL-180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010181#comment-13010181 ] Mark Thomas commented on POOL-180: ---------------------------------- Now I am seeing failures. The test appears to be timing sensitive. Not entirely surprising. Still working on a fix. > Max active per key can be exceeded by one > ----------------------------------------- > > Key: POOL-180 > URL: https://issues.apache.org/jira/browse/POOL-180 > Project: Commons Pool > Issue Type: Bug > Affects Versions: 1.5, 1.5.1, 1.5.2, 1.5.3, 1.5.5, 1.5.4 > Reporter: Phil Steitz > Priority: Minor > Fix For: 1.5.6 > > Attachments: maxAcitivePerKeyExceededTest.patch > > > When instances in the pool fail validation with high frequency, maxTotal is less than maxActive times the number of keys, and destroy has latency, the maxActive contract can be violated (i.e., the number of instances created under a given key minus the number destroyed can exceed maxActive). > Attaching a test case that fails against POOL_1_X -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira