PEGA0029 alert: HTML stream size exceeds limit
The PEGA0029 alert is generated when the size in bytes of any HTML stream sent to a browser exceeds a threshold value. This alert identifies the keys to the top-level stream rule that crossed the threshold.
Example message text
Stream exceeded client response byte threshold (pxObjClass=Rule-Obj-HTML;pyStreamName=Web-Login;).
The other fields in the alert log message identify the pzInsKey or the rule class of the stream and its keys.
Default prconfig.xml settings
In the alerts section of the prconfig.xml file you can update the following default values for this alert:
<env name="alerts/clientbytesreturned/enabled" value="true" />
The enabled setting toggles the alert on (true) or off (false). The default is
<env name="alerts/clientbytesreturned/threshold" value="204800" />
The threshold setting is a positive integer identifying a size in bytes. The default threshold is 204,800 bytes (200 KB).
<env name="alerts/clientbytesreturned/ignoredevusers" value="true" />
ignoredevusers setting toggles the alert for streams produced in a developer portal (authenticated users who can check out rules). The default is
true, so the alert is suppressed. Set the value to
false to activate the alert.
Reasons for the alert
Very large HTML streams add to overall network traffic and usually require the browser to work longer to render the display, slowing the user's perception of system performance.
The alert can occur in the following situations:
- A screen contains large lists. If possible, implement a paging mechanism for the list.