tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Victor Martinez" <victor.marti...@ariceta.com>
Subject RE: CPU goes to 100%
Date Wed, 05 Sep 2001 15:28:47 GMT
> We have a big application using Tomcat v3.2.1 and we are doing alot of
> Database connections.  It is running on Windows 2000 server and
> we are using
> Sun's Java 1.3.  Most of the day the CPU stays at 0%, but for some reason
> every afternoon it goes to 100% and application slows down to a crawl.  At
> the end of each jsp file, we do some garbage collection, but it still does
> not seem to help.
>
> Does anyone have any ideas?
We had the same problem. Tomcat died and httpd threads grew up to consume
all cpu time.

Check references to objects stored in user's session, and mainly db
connections. If there are cyclic references, garbage collector will not free
any memory.
Use some debug application such as JProbe or OptimiceIt to see number of
objects, memory, etc.

Dead Locks could be other problem  :(

Un saludo.

--------------------------------------------
Victor Martinez Conte (victor.martinez@ariceta.com)
Analista funcional

Ariceta & Asociados  http://www.ariceta.com
Grupo IT Deusto
Alberto Alcocer 24, 7ยช Planta 28036 - Madrid
Tel: 91 457 63 04  Fax: 91 457 92 17
--------------------------------------------


Mime
View raw message