Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 61698 invoked from network); 31 Aug 2006 13:32:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Aug 2006 13:32:09 -0000 Received: (qmail 70147 invoked by uid 500); 31 Aug 2006 13:32:09 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 70135 invoked by uid 500); 31 Aug 2006 13:32:09 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 70126 invoked by uid 99); 31 Aug 2006 13:32:09 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Aug 2006 06:32:09 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Aug 2006 06:32:08 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GIme4-0006TM-78 for activemq-users@geronimo.apache.org; Thu, 31 Aug 2006 06:31:48 -0700 Message-ID: <6079430.post@talk.nabble.com> Date: Thu, 31 Aug 2006 06:31:48 -0700 (PDT) From: grudi To: activemq-users@geronimo.apache.org Subject: Re: Oracle Persistant Journal In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <5908849.post@talk.nabble.com> <5909049.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N We also are running the journal on Oracle and the number of Oracle processes (which translates into connections) getting created is very high (up to 1000, our limit). We use AMQ 3.2. We discoverd, that the processes were created when subscribing to a Topic out of a GUI Application. Each instance of the Application subscribes to approx 20 Topics. When you are closing one instance of the GUI Application, the Oracle processes (connections) are not getting released. Is each subscription to one Topic creating one Oracle connection? How can this be avoided and are the connections getting released automatically when unsubsricbing to a Topic? James.Strachan wrote: > > On 8/21/06, osian wrote: >> >> Is the JDBC pool something that is set on the BasicDataSource? > > Yes > > http://jakarta.apache.org/commons/dbcp/apidocs/org/apache/commons/dbcp/BasicDataSource.html#setMaxActive(int) > > >> Also, I'm unsure about what you mean by the nr or connections required >> depends on the nr of connections I have. > > The number of JDBC connections required when not using the journal is > dependent on the number of connections to the broker - unless you cap > the limit on the number of JDBC connections used which effectively > causes contention in the broker waiting for available JDBC > connections. i.e. it reduces the concurrency of the broker and its > throughput. > > If you use the high performance journal then you'll use less JDBC > connections, since JDBC is mostly only used by a background checkpoint > thread. > > -- > > James > ------- > http://radio.weblogs.com/0112098/ > > -- View this message in context: http://www.nabble.com/Oracle-Persistant-Journal-tf2140863.html#a6079430 Sent from the ActiveMQ - User forum at Nabble.com.