Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat running slow with Quartz scheduler jobs

 
Gokulnath Kuppuswamy
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

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.

Regards,
Gokul
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18152
52
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic