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 16913D285 for ; Thu, 28 Jun 2012 21:31:04 +0000 (UTC) Received: (qmail 99978 invoked by uid 500); 28 Jun 2012 21:31:00 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 99924 invoked by uid 500); 28 Jun 2012 21:31:00 -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 99914 invoked by uid 99); 28 Jun 2012 21:31:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jun 2012 21:31:00 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.160.173] (HELO mail-gh0-f173.google.com) (209.85.160.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jun 2012 21:30:51 +0000 Received: by ghrr14 with SMTP id r14so2910175ghr.18 for ; Thu, 28 Jun 2012 14:30:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:organization:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding:x-gm-message-state; bh=gbrOYAG/WTvfQa2fo9RQr7Rha3FAuamZ5H8trvx5Ifk=; b=pZfyrCi49u9xK787+p9bIa2eqW2tkWZi/hNt3wCtKL0JuioSTLOYO5LPa/CUBqHhAo 0e8IUd0m2EC0D5vRVthimowc25iL90GNAzjpFVXGGd8nncuaEr1Pr46kXfjjmxMIiZKe VbKkwx+pqClFgoawovGqFrx00Hm2D+d52a/d5Egokhl5Es5qQG2Z7PDTxIftVZ7yWHyT teUxs3q9mvm73dzLgjQ3etfbpynMTXqlD4jXIEBHheccdqgd64kkyA4amO8K5ZEzW3xq VMGLpJico4tQilIko1eIjoBwp3b7iVMYC2LnnxXGPyAgxHMYaPEAlHRHaNd2FL51Df/c nZ4g== Received: by 10.236.176.129 with SMTP id b1mr5733060yhm.126.1340919030424; Thu, 28 Jun 2012 14:30:30 -0700 (PDT) Received: from [192.168.1.6] (c-68-45-12-151.hsd1.nj.comcast.net. [68.45.12.151]) by mx.google.com with ESMTPS id x42sm1150374yhd.3.2012.06.28.14.30.27 (version=SSLv3 cipher=OTHER); Thu, 28 Jun 2012 14:30:28 -0700 (PDT) Message-ID: <4FECCCF0.5050106@poonam.org> Date: Fri, 29 Jun 2012 03:00:24 +0530 From: Kiran Badi Organization: www.poonam.org User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: users@tomcat.apache.org Subject: Re: Tomcat DBCP Connection pool issue References: <4FE94468.6060601@poonam.org> <4FEA143F.7020105@christopherschultz.net> <4FEA44C1.8060806@poonam.org> <4FEB2120.9010609@christopherschultz.net> In-Reply-To: <4FEB2120.9010609@christopherschultz.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQk2Hl/BlZ2sn+jQ/XD8Xs+o99GxbNlNIfzDdjp/FjI8zPHPn8R+6yVvOgEfPncTh9RBQvWD On 6/27/2012 8:35 PM, Christopher Schultz wrote: > 100 active db connections sounds like a lot. Do you really need to > support 100 simultaneous connections to your database? Can your > database support that many connections with active queries from each? > Do you have a cluster? Remember that each member in the cluster will > therefore open a maximum of 100 connections to your database. 10 > cluster members means 1000 simultaneous connections. to begin with I am targetting 1000 users at any time.I know this is too much to dream off.But again let me try for that. I will enable abondered detection settings.Thanks for bringing to notice. There's no time like the present: this problem will only get worse over time. I had written a bunch of DAO classes sometimes back,but there was bug in DB design(for one functionality,I forgot to relate tables properly) and after fixing that I somehow forgot to to use model 2 design(again my bad its hard to wire the brain to work this way when you can just make easy calls and then present data to the client and yet do MVC) and started working old way and due to this db calls went into the servlet.For other module I am fixing this and will make action servlet which will read request uri and then do the appropriate action.I have almost visualised,inserts and deletes.Trying to find the way to see how to make edit work.I have around 10 images and around 10 fields which I need to perists somewhere before final insert. God bless me. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org