How to
detect large HTML streams (PEGA0029 alert)GRP-628 PROJ-1474 CODE-763 DORID 5.5 When an HTML stream is sent to a browser and the number of bytes exceeds a threshold value, a PEGA0029 alert message appears in the alert log. Here is an example:
Stream exceeded client response byte threshold (pxObjClass=Rule-Obj-HTML;pyStreamName=Web-Login;).
Other fields in the alert log message identify the pzInsKey or the rule class of the stream and its keys.
By default, the alert is enabled with a threshold of 204,800 bytes
(2000 KB). This alert is not triggered by streams generated in a
Designer Studio portal (authenticated users who can check out rules). You can
modify the settings in the prconfig.xml file as follows:
prconfig.xml file and update this alerts
section:<env
name="alerts/clientbytesreturned/enabled"
value="true" />
<env name="alerts/clientbytesreturned/threshold"
value="204800" />
<env name="alerts/clientbytesreturned/ignoredevusers"
value="true" />
threshold value using a positive
integer identifying the size in bytes.enabled value to false to
disable the alert. The default is true.ignoredevusers value to false to
include streams produced by developers. The default is
true.Here are likely reasons for the alert and suggestions on how to address them:
For an example, see Pega Developer Network article
PRKB-25619 Understanding the PEGA0029 alert.
|
alert log, prconfig.xml file, stream processing |
|
Understanding alerts |