Support Article
prpcUtils is running slowly
SA-22106
Summary
The performance of the prpcUtils script is slow when importing rulesets or hotfixes, sometimes taking upwards of 15 minutes to complete the process.
Error Messages
Not applicable.
Steps to Reproduce
1) Configure prpcUtils.properties and run the prpcUtils script.
Root Cause
A defect or configuration issue in the operating environment. By not specifying a constant Pega temp directory, each time prpcUtils is run it will regenerate the entire temp directory.
Resolution
To Improve the performance of the prpcUtils script, make the following adjustments:
Create a copy of prconfig.xml, and be sure to specify a value for the following:
<env name="initialization/explicittempdir" value="" />
This will specify a location to be used as the explicittempdir for prpcUtils.
After updating this, save this file.
Finally, update the rpcUtils.properties file, specifically the property 'pegarules.config'. Uncomment this line if it is not already and specify the location where the prconfig.xml file has just been saved.
After prpcUtils is run once, the files in the specified llocation should remain and not be regenerated each time it’s called, which should speed up the start of the engine and execution of the prpcUtils script.
Another item to consider is the location of the database in relation to where this script is being run. Ideally, this should be done from within the same datacenter.
Published April 15, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.