Idle QuartzSchedulerThreads are consuming too much CPU

Solution Verified - Updated

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 5.x
  • Quartz 1.5.2
  • Solaris

Issue

  • QuartzSchedulerThreads idling in the run() method are consuming an unexpected amount of CPU.

Resolution

  • Upgrade Quartz

Root Cause

Diagnostic Steps

  • Troubleshoot the issue as described in Java application high CPU by gathering thread dumps and CPU data.
  • On Solaris, gather dtrace output for the process and check for the QuartzSchedulerThreads making frequent pollsys calls.
Tags

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.