tracker issue : CF-4202855

select a category, or use search below
(searches all categories and all time range)
Title:

Scheduled Task (Quartz) Thread Admin and Logging

| View in Tracker

Status/Resolution/Reason: To Fix//EnhancementRequired

Reporter/Name(from Bugbase): Rafael Salomon / ()

Created: 06/13/2018

Components: Administrator

Versions: 2016,11.0

Failure Type: Enhancement Request

Found In Build/Fixed In Build: /

Priority/Frequency: Normal /

Locale/System: /

Vote Count: 0

Scheduled Tasks (quartz) is configured to use 10 threads.  When a lot of tasks are scheduled, quartz can run out of threads and will be unable to service all those tasks.  The only indication that a task didn't run is a log entry in scheduler.log that says "misfire".

It would be great if the "Server Settings > Scheduled Tasks" section of the administrator had a way to change the number of quartz threads.  While it's possible to change the thread count (org.quartz.threadPool.threadCount) in C:\ColdFusion2016\cfusion\lib\quartz\quartz.properties, having it in the Administrator would be a clue that it's something that actually exists and needs to be configured.

It would also be great if scheduler.log would log the number of busy and idle threads with each log entry.  That would help in figuring out if the number of threads is appropriate or not.  Currently, it's really hard to figure out how many threads are being used and whether you're bumping up against the limit.

Attachments:

Comments: