Step 3.2. Enter Advanced Event Specifications

The various options in the Advanced section in the New Event dialog box are as follows.

Option Description
Script Execution In Parallel Runs a script each time an event is invoked. More than one copy of the script may run at a time. You must use critical sections to control access to resources.

The maximum number of scripts that run in parallel is undefined. Thus, several threads are created to execute the scripts in parallel, thereby requiring more computing resources.

In the thread pool

Runs the script in threads from a thread pool. The thread pool is created when the EMRP process starts.

The scripts also run in parallel, but the number of threads is limited to the size of the thread pool. For details on the thread pool size and how to configure it, see Running a script in parallel (in the thread pool).

In Sequence

(Default) When an event is triggered, if an existing instance of the event is still executing, the script will be queued to start after the current script is done.

The maximum number of script actions that can run simultaneously is CE_MAX_THREADS + CE_POOL_THREADS.

Maximum Queue If the option In sequence is selected, you must specify a maximum queue size. In this case, when more than 20 events are queued, the oldest will be discarded.
Generate Alarm on Overflow (Default) If the sequential queue overflows, select this check box to generate an $EM_QUEUE alarm.

If your event is an alarm event, generating an alarm may cause your event to trigger again and generate another alarm. This will cause a circular cycle of alarms.

Log Error on Overflow (Default) If the sequential queue overflows, check to generate a message in the status log.