tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Breno Jacinto" <br...@freeunix.com.br>
Subject Hundreds of Instances
Date Mon, 03 Dec 2007 18:19:43 GMT
Hello,

    I have an application running under Tomcat for a couple of months
now, and itś always been memory intensive (I run it in a combination
with Apache2 + JK + Berkeley DB XML in the backend). But from a few
days to today, it's been eating memory like crazy, and I can see that
when I have to restart it very often - 170 Tomcat instances running!

    The site running is not that traffic intensive, so my first
supposition is that something is getting locked and making Tomcat
unable to release the memory when the job is done. So instances get
created but not destroyed. And memory progressively is filled, up to
50% of swap, then Apache2 stops responding, BDB XML  gives
out-of-memory messages etc... which is pretty normal.

    My question is if this is related to Tomcat directly - like a
memory leak, or if this is application / database specific. How could
I investigate this further? My setup:

Debian Linux  2.6.18-5-686 #1 SMP
Apache 2.0.54
Tomcat 5.5.15
JDK 1.5.0_06-b05
BDB XML 2.2.13
1.5 GB of RAM


regards,

-- 
-- 
:: Breno Jacinto ::
:: breno - at - gprt.ufpe.br ::
:: FingerPrint ::
   2F15 8A61 F566 E442 8581
   E3C0 EFF4 E202 74B7 7484
:: Persistir no difícil é a única maneira de torná-lo fácil algum dia.  ::
Mime
View raw message