我正在使用Quartz 2.1.16
我有一个包含2个工作的调度程序。工作1每15分钟运行一次,工作2每天运行一次。我和DefaultQuartzScheduler在一起。在一天结束时,如果我检查我的应用程序,我会在TIMED WAITING状态下留下70个石英线。下面是转储。它只是转储的一部分。共有70个主题。线程计数最终将迫使我重新启动服务器。知道我的调度程序发生了什么事吗?
"DefaultQuartzScheduler_Worker-8" Id=4367 in TIMED_WAITING on lock=org.quartz.simpl.SimpleThreadPool$WorkerThread@706a706a (running in native)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:196)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:552)
"DefaultQuartzScheduler_Worker-9" Id=4368 in TIMED_WAITING on lock=org.quartz.simpl.SimpleThreadPool$WorkerThread@71147114 (running in native)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:196)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:552)
"DefaultQuartzScheduler_Worker-10" Id=4369 in TIMED_WAITING on lock=org.quartz.simpl.SimpleThreadPool$WorkerThread@71be71be (running in native)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:196)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:552)
"DefaultQuartzScheduler_QuartzSchedulerThread" Id=4370 in TIMED_WAITING on lock=java.lang.Object@708e708e (running in native)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:196)
at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:437)