Configure the scheduler polling intervals and running threads - SmartPlant Foundation - IM Update 48 - Help - Hexagon

SmartPlant Foundation Help

Language
English
Product
SmartPlant Foundation
Search by Category
Help
SmartPlant Foundation / SDx Version
10
SmartPlant Markup Plus Version
10.0 (2019)
Smart Review Version
2020 (15.0)

The schedulers, Main, Publish, Report, FTR, and VTL Export Task, have been reconfigured to poll at less frequent intervals. The interval, which previously polled at 10 seconds, now polls at 30 seconds to increase processing time. Also to increase efficiency in the polling process, the default maximum number of parallel running threads can be set by the administrator.

Scheduler polling interval

The schedulers poll the database at regular intervals to verify if any tasks need to be gathered and processed. To eliminate excessive processing time, which slows the system, set the scheduler's poll at less frequent intervals. The minimal accepted value for which a scheduler can be set is 30 seconds (30000 ms), changed from 10 seconds (10000 ms).

By default, the schedulers poll at the following times:

Scheduler

Poll intervals (ms)

Main Scheduler

60000

Publish Scheduler

30000

Report Scheduler

60000

FTR Scheduler

60000

VTL Export Task Scheduler

1800000

Administrators can set the polling value for a scheduler on the Update form. At a minimum, the value must be 30 seconds. To reset the value to less than 30 seconds, administrators must override the default property through custom code. For more information, see SmartPlant Foundation Server Customization.

Maximum number of parallel running threads

The default maximum number of parallel running threads for the scheduler task is two.

For the Publish Scheduler, the default maximum number of parallel running threads is three, which allows you to process the load and consolidation of published documents in three queues in parallel. As there can be concurrency issues with any database updates, this can cause the task to fail. We recommend that you avoid this by setting the default maximum number of parallel running threads for the scheduler task in the SmartPlant Foundation Options dialog box to two. Selecting this option automatically re-submits any failed load or consolidate task for processing. For more information on the system options, see Configure the system options.

SHARED Tip You can resubmit a failed consolidate task by right-clicking on the failed document and then clicking Retry Consolidate.

Both the minimal accepted values and the maximum number of parallel running threads can be customized. For more information, see SmartPlant Foundation Server Customization.