Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 86349 invoked from network); 21 Aug 2007 12:21:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Aug 2007 12:21:02 -0000 Received: (qmail 35441 invoked by uid 500); 21 Aug 2007 12:20:47 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 35415 invoked by uid 500); 21 Aug 2007 12:20:47 -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 35404 invoked by uid 99); 21 Aug 2007 12:20:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Aug 2007 05:20:47 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [212.159.14.214] (HELO ptb-relay03.plus.net) (212.159.14.214) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Aug 2007 12:21:19 +0000 Received: from [213.162.107.30] (helo=[192.168.1.37]) by ptb-relay03.plus.net with esmtp (Exim) id 1INSid-0007Nr-0m; Tue, 21 Aug 2007 13:20:23 +0100 Message-ID: <46CAD886.1060102@jbgb.com> Date: Tue, 21 Aug 2007 13:20:22 +0100 From: Paul Singleton Organization: Jambusters Ltd User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Tomcat Users List CC: mtitania@gmail.com Subject: Re: Does anyone have an approach to checking if Tomcat instance is UP? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Kim Do you have reason to believe that the OutOfMemory exception is due to: * some cumulative effect (e.g. memory leak), in which case you need to restart, preferably (just) before it happens * the qty of active sessions, so you need to load-balance when near some threshold (offload to a less busy server iff poss else "please come back later") * the complexity of some user's request, in which case your app isn't really "down" at all... Paul Kim Albee wrote: > Tracy, > > The JSP does a call to a method in our app -- which if it runs, that means > the app is up and available -- the method does a simple query against the DB > and then returns a status of OK if the method runs through just fine. > > In our example from this weekend -- the health.jsp (which is the one that > does this check) ran and returned a good result, but the main > index.jspreturned the 500 error with the OutOfMemory exception. So > that is what is > confusing here. > > thanks, > Kim :-) > > On 8/20/07, Nelson, Tracy M. wrote: >> How is your JSP checking your application? Are you issuing a request to >> your app and checking the HTTP status? If so, why isn't it recognizing >> the 500? Or is the JSP in your application which is failing? >> >> | -----Original Message----- >> | From: Kim Albee [mailto:mtitania@gmail.com] >> | Sent: Monday, 20 August, 2007 09:48 >> | >> | Repeatedly, that JSP will work, but the site is down because Tomcat >> hit an >> | OutOfMemory exception -- but our JSP (which is very small) still runs >> | through it's process and returns that everything is happy. Our >> | application >> | is up, but the 500 error is an OutOFMemory exception. >> ----------------------------------------- >> ------------------------------------------------------------ >> The information contained in this message is confidential >> proprietary property of Nelnet, Inc. and its affiliated >> companies (Nelnet) and is intended for the recipient only. >> Any reproduction, forwarding, or copying without the express >> permission of Nelnet is strictly prohibited. If you have >> received this communication in error, please notify us >> immediately by replying to this e-mail. >> ------------------------------------------------------------ >> >> --------------------------------------------------------------------- >> To start a new topic, e-mail: users@tomcat.apache.org >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >> For additional commands, e-mail: users-help@tomcat.apache.org >> >> > -- Paul Singleton Jambusters Ltd tel: 01782 750821 fax: 08707 628609 VAT: 777 3904 85 Company no. 04150146 --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org