You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by NurulZ <Nu...@Seccom.com.my> on 2007/03/01 08:04:33 UTC

Need some pointers on how to troubleshoot performance problems of an application running on tomcat and java

Hi,

I am new to Tomcat. I have an enterprise application (which was developed by
an external vendor and for which we have no source code) that is running on
the followng:

1. Apache Tomcat 4.1.31
2. J2SDK1.4.2_11
3. Windows 2003 OS SP1.

The hardware is as follows:
HP 2-CPU machine
2 GB Memory

The database used is SQL-Server 2000 SP4. 

The setup is configured so that Tomcat uses maximum 750 MB of RAM. The
problem is that the memory used by Tomcat continues to increase until it has
no memory to find and then it crashes. The only way to recover is to
re-start the tomcat server.

I need help in finding out why this happens ? Are there any known issues in
tomcat 4.1.31 ? Is the Garbage collector in J2SDK1.4.2_11 buggy? 

If I were to monitor the performance of the applications, what kind of tools
are available? Are there any tools to search for memory leaks in the
application ? I hope someone can guide me to the correct answers (or atleast
to the correct websites or tools).

Thanks in advance


-- 
View this message in context: http://www.nabble.com/Need-some-pointers-on-how-to-troubleshoot-performance-problems-of-an-application-running-on-tomcat-and-java-tf3325383.html#a9244837
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
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


Re: Need some pointers on how to troubleshoot performance problems of an application running on tomcat and java

Posted by Mark Thomas <ma...@apache.org>.
NurulZ wrote:
> I need help in finding out why this happens ? Are there any known issues in
> tomcat 4.1.31
http://svn.apache.org/repos/asf/tomcat/container/branches/tc4.1.x/RELEASE-NOTES-4.1.txt

> Is the Garbage collector in J2SDK1.4.2_11 buggy?

Not to my knowledge

> If I were to monitor the performance of the applications, what kind of tools
> are available? Are there any tools to search for memory leaks in the
> application ? I hope someone can guide me to the correct answers (or atleast
> to the correct websites or tools).

Google for Java memory profiler. I use YourKit but there are plenty of
others out there.

Chances are it is an application issue.

Mark

---------------------------------------------------------------------
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