you may want to consider a MySQL best respponse connection algorithm such as 
MySQL LoadBalancingConnectionProxy.java (allocates multiple connections and 
selects which connection to use based on least response time)

or allocate a number of connections upfront with DBCP
http://commons.apache.org/dbcp/

ping offline for details,
Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.




> Date: Thu, 3 Feb 2011 11:40:08 +0100
> Subject: Re: Monitoring production tomcat
> From: rosenberg.l...@gmail.com
> To: users@tomcat.apache.org
> 
> There is clearly only one solution ;-)
> http://moskito.anotheria.net
> 
> Ok, advertisement aside, there are multiple, but moskito provides most
> information of all the available tools.
> 
> Feel free to ask offlist too.
> 
> regards
> Leon
> 
> On Thu, Feb 3, 2011 at 10:57 AM, Adam Lipscombe
> <adam.lipsco...@gmail.com> wrote:
> >
> > Folks
> >
> >
> > We have a several production servers, each of which runs 1 instance of
> > tomcat. Within each instance of tomcat there are approximately 10
> > virtual websites. Each virtual website runs a copy of our web app.
> > Therefore each server hosts @ 10 instances of our web app
> >
> > On a couple of the servers we are having problems with tomcat running
> > out of memory and sometimes dropping the JDBC link to the MYSQL database
> > etc.
> > We usually restart tomcat, which of course cures the issues. However doing
> > do affects every virtual site and therefore is not ideal from our customer's
> > perspective.
> >
> > We have been looking at this problem for some time, however it is very
> > difficult to determine what is causing these problems. Very likely something
> > in out webapp.
> >
> >
> > What would help is some kind of management or monitoring facility
> > that allows us to see which virtual site is getting into trouble.
> > Ideally it should give enough information to help us track down what is
> > causing the issue. Memory usage per site, thread view etc.
> >
> >
> > Can anyone recommend anything that can do this? Commercial or free?
> >
> >
> > Many thanks - Adam
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: users-h...@tomcat.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
                                          

Reply via email to