Back ForwardHow to detect large declarative networks (PEGA0024 alert)

Description

ALIBJ 5.3 Through prconfig.xml file settings, you can cause the system to add a line to the Alert log when it takes more than a second (or another elapsed time threshold value) to load a declarative network.

When loading the network exceeds this time limit, the system adds a message to the alert log of this form, with additional details:

PEGA0024 Loading declarative network has exceeded the threshold of 1,000 ms. Type: Rule-Declare-ZZZZZ. Class: ZZZZZ.

Procedure

This facility is enabled by default, with a threshold of 1000 milliseconds. To establish another threshold:

1. Update the alerts section of the prconfig.xml file, setting a longer or shorter desired threshold in milliseconds:

<env name="alerts/declarative/lookupTime/enabled" value="true" />
<env name="alerts/declarative/lookupTime/thresholdMS" value="nnnn" />

where nnnn is a positive integer in milliseconds.

2. Stop and restart the server.

As an alternative to the prconfig.xml file, you can use Dynamic System Settings to configure your application.
See How to create or update a prconfig setting.

PDN Article

See PDN article Understanding the Pega0024 Alert.

Definitions alert log, dependency network
Related topics Understanding alerts

UpSysAdmin category