Operating System - HP-UX
1833100 Members
3328 Online
110051 Solutions
New Discussion

Tomcat High CPU utilization

 
DESMOND KOH
Occasional Contributor

Tomcat High CPU utilization

Hi,

We are facing some system performance issues on tomcat 4.1 running on Superdome with 4GB RAM, 4 CPU and HP-UX 11i. We have two instances of tomcats running, tomcat1 and tomcat2 being loadbalanced by mod_jk via Apache. We noticed the tomcat2 instance is using up 200% of the total CPU utilization.

When I used GlancePlus to examine the "java" process of the tomcat2 instance, I noticed there are two threads that are eating up the CPU resources. These two threads are using 99% of the CPU load and are having the "PRI" stop reason (block reason) in GlancePlus.

Does anyone have ever encountered this before? Is there anyway to find out what are these two threads (i.e: web application thread or thread used by tomcat)?

I also found that some of the patches recommended in HPjconfig are not applied. The funny thing is that it only happened to tomcat2 but not tomcat1. If it's application bug, both instances should have the same problem.

Your help is highly appreciated!

Thanks