How to stop the “EAI step time” message in the sw_warn.log file

How to stop the “EAI step time” message in the sw_warn.log file

book

Article ID: KB0079594

calendar_today

Updated On:

Products Versions
TIBCO iProcess Engine (Oracle) 11.6.0

Description

The following messages are being generated in the sw_warn.log file:
2018/02/15 14:44:36.681833(BG:2:14680120:0:MYTST1:113919043:SET1:pro:/proeai.c:84279:3899): 1631-WARNIG: <EAI step time: 2722 ms> <> <> <>

Can the messages be stopped?
 

Issue/Introduction

The following messages are being generated in the sw_warn.log file: 2018/02/15 14:44:36.681833(BG:2:14680120:0:TINTST1:113919043:SIEBELRE:pro:/proeai.c:84279:3899): 1631-WARNIG: <> <> <> Can the messages be stopped?

Environment

TIBCO iProcess Engine (all versions and database types)

Resolution

The warning messages are generated for EAI steps that take longer to process than the EAI_STEP_TIMEOUT process attribute.

The attribute is set on the BG processes and is defined in milli-seconds – the default value is 2000 (or 2 seconds).
 
If the time for processing an EAI step is equal to or over the defined threshold, the EAI step keeps processing, and the time period of processing the EAI step is logged in the sw_warn.log file.  
 
If the time for processing an EAI step is less than the defined threshold, the EAI step will be processed and no message is written to the sw_warn.log file.
 
 
The EAI_STEP_TIMEOUT can be increased to stop the warnings from being generated. However these warnings can indicate slow behaviour in iProcess or an external system (if the EAI step calls an external system). Therefore investigation should be considered to understand why the EAI step is taking two or more seconds to complete.
 
The following command can be used to retrieve the current setting:
   swadm show_all_attributes EAI_STEP_TIMEOUT
 
The following can be used to increase the threshold to 5 seconds:
   swadm set_attribute 0 BG 0 EAI_STEP_TIMEOUT 5000
 

Additional Information

TIBCO iProcess Engine Administrator’s Guide
TIBCO iProcess Engine System Messages Guide