Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Increase Stream Response size threshold using DSS

SA-1575

Summary



Admin wants to increase stream response size threshold to 400 KB and has added below parameter in dynamic system setting. The change isn't taking effect andPega Alert is still using 200 KB threshold.

Paramater Name: prconfig/alerts/clientbytesreturned/threshold/default
Value : 409600


Error Messages



no error message


Steps to Reproduce



Set a dynamic system setting.


Root Cause



The root cause of this problem is defect/misconfiguration in the PRPC operating environment.  
In the prconfig.xml file that is being used on this system we see this:

    <env name="initialization/settingsource" value="file" />
    <env name="alerts/clientbytesreturned/threshold" value="204800" />

With the settingsource set to "file" that indicates that the settings in the file are what are used.  If the setting source is "merged" then the settings in the file will be merged with the dynamic system settings.  If a setting is specified in both the prconfig and in a Dynamic System Setting then the file will take precedence.  This explains why the DSS is not getting picked up.

Resolution



This issue is resolved by making the following change to the PRPC operating environment: 

To use a DSS you will need to update the prconfig.xml file to set the setting size to "merged" and remove the alert threshold you are trying to set:


    <env name="initialization/settingsource" value="merged" />

To use prconfig to set this threshold update prconfig.xml with the appropriate value:


    <env name="alerts/clientbytesreturned/threshold" value="409600" />

When making a change to prconfig.xml with an ear deployment you need to either externalize the prconfig.xml file or you need to update the file in the prresouces.jar and then add the updated jar file to your ear.  Then you will need to undeploy the existing ear file and redeploy the updated ear.

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us