File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Tomcat running slow with Quartz scheduler jobs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat running slow with Quartz scheduler jobs" Watch "Tomcat running slow with Quartz scheduler jobs" New topic

Tomcat running slow with Quartz scheduler jobs

Gokulnath Kuppuswamy

Joined: Mar 08, 2012
Posts: 2
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.

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17410

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.
I agree. Here's the link:
subject: Tomcat running slow with Quartz scheduler jobs
It's not a secret anymore!