Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E3CAAFBDC for ; Tue, 2 Apr 2013 10:57:08 +0000 (UTC) Received: (qmail 97454 invoked by uid 500); 2 Apr 2013 10:57:05 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 97277 invoked by uid 500); 2 Apr 2013 10:57:05 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 97258 invoked by uid 99); 2 Apr 2013 10:57:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Apr 2013 10:57:04 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of cjderham@gmail.com designates 209.85.223.178 as permitted sender) Received: from [209.85.223.178] (HELO mail-ie0-f178.google.com) (209.85.223.178) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Apr 2013 10:56:59 +0000 Received: by mail-ie0-f178.google.com with SMTP id bn7so245067ieb.37 for ; Tue, 02 Apr 2013 03:56:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:reply-to:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:content-type; bh=Vi7w+iRfrQD5Jt0zsnIXqrhZ0eDMHKnTkvrfibBrblM=; b=AbIma502md8K41PeEZYqqJbpdM15DdTwTEHz5//wotk0PoPBHecYFMEHZQs+8mIwxF t8Hidm2ufY9J1iThNwtKcMJ7pIInnJ2NYKJ4raBee5Ee0hUscfV8FcbjZgI52nab9+JO hrJUwcHdb7i0JmX5+2Euq5J0dqKFSDOaEmzFKhf8urCo2GaotZIlSwcRnaeftq4Lqk13 fINs660DtNdRFLJemTz+V7AOSGSkSSFjWLsHmCyjC6wYxXuEHPM9Qc3XGTS6l6wH11GW 7CezKyBzUtBCGb6oVkqwLBq3exm77GS7FshLc+0H1MVeI8ux0mZ4c56F9mDwRe75smL7 lcyw== X-Received: by 10.50.185.137 with SMTP id fc9mr5058663igc.109.1364900198756; Tue, 02 Apr 2013 03:56:38 -0700 (PDT) MIME-Version: 1.0 Reply-To: chris@derham.me.uk Sender: cjderham@gmail.com Received: by 10.64.21.233 with HTTP; Tue, 2 Apr 2013 03:56:18 -0700 (PDT) In-Reply-To: References: <89D58E36-EFFE-43E6-A77B-DEC396895935@vmware.com> From: chris derham Date: Tue, 2 Apr 2013 07:56:18 -0300 X-Google-Sender-Auth: zvyG7UZZSmgTcKX2EVABSTV83Og Message-ID: Subject: Re: Analyzing Connection Pool Errors/Leaks To: Tomcat Users List Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org > OK, I'll have to investigate the DB setting more thoroughly. The maximum > sessions and processes in Oracle are higher than we were using for the test > though (several hundred). We hit a similar situation a year ago. Essentailly Oracle has a TNS listener process that accepts connections. This is responsible for counting connections and preventing any new ones when the limit is hit. The counting only occurs on a background thread every x minutes, hence if you have a high turnover of connections, you can exceed the limit. Even if your app correctly returns all connections, the TNS listener will not "see" the returned connections, and hence hit the error above. For our situation we were able to just bump up the connections allowed to the db. This may or may not help in your case HTH Chris --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org