ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.
CA API Gateway: Scheduled Tasks Suddenly Stop Working
Article ID: 145409
CA API GatewayAPI SECURITYCA API Gateway Precision API Monitoring Module for API Gateway (Layer 7)CA API Gateway Enterprise Service Manager (Layer 7)STARTER PACK-7CA Microgateway
Under some circumstances Scheduled Tasks created with the Manage Scheduled Tasks function in the CA API Gateway Policy Manager do not function correctly or require a higher Thread Count to run consistently.
The possible cause of this issue may be due to the default Thread Count used by the Scheduler being too low
Release : 9.x
Component : CA API Gateway
In scenarios where the Scheduled Tasks stop functioning or are not consistently running, do the following:
Disable the current Scheduled Task(s) that are not functioning properly and recreate the Scheduled Task with a fresh job.
Increase the Number of worker threads for the Scheduler with the scheduledTask.maxThreads Cluster Wide Property. In your Gateway Policy Manager Go to Tasks --> Global Settings --> Manage Cluster Wide Properties and add the scheduledTask.maxThreads with a value of 20. Some trial and error may be necessary to properly size the Threads depending on your Scheduled Tasks load.