Starting Situation

  • We have a job chain which is set to run every 15 minutes. At random point thought the day this order gets stuck in a running state.

Possible reasons for this behavior

  • Starting from Releases 1.7 we introduced a new microscheduling, a more efficient mechanism for job starts.
    JS-946 - Getting issue details... STATUS  
  • In the mean time we had knowledge of some customers running into problems with this feature. 
  • In response to this 
    • we added some fixes
      JS-1172 - Getting issue details... STATUS  
    • we modified the default behavior for this feature with Release 1.7.4274 (1.7.3),
      JS-1235 - Getting issue details... STATUS
    • we re-worked
      JS-1248 - Getting issue details... STATUS  

How to disable microscheduling for releases before 1.7.3

You can disable the microscheduling in your JobScheduler environment manually by setting the following parameter in ./config/scheduler.xml:

Configuration for scheduler.xml
<config>
...
	<params>
    	<param name="scheduler.old_microscheduling.enable_for_jobs" value="false"/>
	</params>
...
</config>

 

A restart of JobScheduler is required to apply this setting.