Question
Last activity: 30 May 2017 17:15 EDT
multithreading in PRPC 7.2.1
We are migrating from Pega 6.3 to Pega 7.2.1. In the logs during jvm startup I see the message "Disabling multithreading!!"
What is the Pega recommendation on multithreading and and where does this value get set? We are in a WAS environment.
***Updated by moderator: Lochan to update Categories***
Also, you can enable Multi-Threading by setting "initialization/allowMultiplePRThreads" to true in prconfig.xml or Dynamic System Settings.
Multi-Threading does not result in performance improvements, but it may improve user experience.
If Multi-Threading is disabled, server processes each requestor serially, but each requestor gets its own java thread. When it is enabled, requests are processed in parallel, if they are for different PRThreads.
Thanks for the help! I'll look over the information provided.
One followup - when I look at the link provided it indicates that multi-threading is enabled by default. I took a look at our prconfig.xml file and there is no entry turning it off, nor is there a dss setting it to false. Is the documentation incorrect and it is really disabled by default?
I believe, it is ON by default, refer below note in link I provided earlier:
You can disable multithreading by changing the dynamic system setting AllowMultipleThreads value to false. See How to create or update a prconfig setting.
Hi- thanks for the information. That is why I am confused; the documentation indicates that multi-threading is enabled by default and indicates you can set the DSS AllowMultipleThreads to false to turn it off. We do not have this DSS set at all and the startup logs indicate that multi-threading is being disabled. We do not have this value in our prconfig.xml file either. I will set the DSS setting to true and see if that changes the start up messaging.
Thanks.
Accepted Solution
Hi all,
The 7.1.7 help page (https://pdn.pega.com/sites/pdn.pega.com/files/help_v717/procomhelpmain.htm#tools/multithreadingtool/aboutmultithreadingtool.htm) was erroneously included. The Multithreading feature it references was experimental and ultimately not included in the product. Similarly, the AllowMultipleThreads DSS was not intended for use and has no effect.
The help page has been removed from later releases and will be removed from the 7.1.7 online help shortly.
Hi Mark,
Following will help you understand this:
https://pdn.pega.com/sites/pdn.pega.com/files/help_v717/procomhelpmain.htm#tools/multithreadingtool/aboutmultithreadingtool.htm