We are facing performance issue with Tomcat apache 6.0, where jobs scheduled using Quartz scheduler is running very slow, jobs starting with a delay of more than 30 minutes also and navigation between the pages in the application also very slow (login to the application also). We checked the cpu utilization of the server and its nearly 100% when the jobs executes.
It was running fine for quite few days but now only we are facing this issue. Below are the server details. This is the restricted Production environment, we can't do anychanges without testing.
Tomcat version - 6.0
Tomcat Java Memory - 4.5 GB
Operating system - Windows 2008 R2 64 bit
CPU - 4
RAM size - 8 GB
Can you please guide me to resolve this performance issue.
Tomcat doesn't interact with Quartz. Whatever issues you are having there are in the application, not in Tomcat.
The first step to resolving resource issues is to determine where the bottleneck is. You need to find which thread(s) are running CPU overload and what code they are executing when they do it. Although Tomcat's JMX monitoring services might help, the tools that work for general Java performance tuning also work for Tomcat-based apps.
An IDE is no substitute for an Intelligent Developer.