NOTICE: Branded Content
NOTICE: Certain versions of content (“Material”) accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.
Performance Center User Discussions
cancel

(PC) Support tip: In PC12.55, Truclient Chomrium Vusers are getting stuck in init state

Highlighted
 Micro Focus Expert rkoduri  Micro Focus Expert
 Micro Focus Expert

(PC) Support tip: In PC12.55, Truclient Chomrium Vusers are getting stuck in init state

Problem:

In PC12.55 when running a loadtest with Truclient Chromium scripts, some of the Vusers does not initialize and get stuck in init state. This happens only with Truclient Chomium scripts but other script types like TC IE or TC FF run just fine

Cause:

Truclient Chromium protocol is pretty memory intensive. Depending on what the script is trying to do within the application, each Vuser consume a lot of memory in the heap allowing only fewer number of user to go to run state. As a result some of the other Vusers get stuck in init

Resolution:

To get around the issue and achieve higher load with this protocol type, on each LG machine involved in the test increase the shared memory setting in the heap at Windows level. To implement this change, do the following:

  1. Login to the specific load generator machine
  2. Make sure the PC agent is running as a service
  3. Open the registry and navigate to: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\SubSystems\Windows
  4. Backup the original key (export it)
  5. Change the third value (SharedSection) from its value (in the example below – 512) to larger number – 2048.
  6. Reboot the host
  7. Run a sample 15-20 user test and see if it works as expected.  Then gradually increase the load to reach the maximum threshold for the LG

 Here’s an example of the windows value how it looks like that needs to be changed:

%SystemRoot%\system32\csrss.exe ObjectDirectory=\Windows                              SharedSection=1024,3072,512 Windows=On SubSystemType=Windows                              ServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3                              ServerDll=winsrv:ConServerDllInitialization,2 ProfileControl=Off                              MaxRequestThreads=16

Microfocus Support

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
1 REPLY
Contributor.. jkrist46 Contributor..
Contributor..

Re: (PC) Support tip: In PC12.55, Truclient Chomrium Vusers are getting stuck in init state

On Windows 2012r2 server we do not have that regedit path.  Just FYI

Top Contributors Last 30 Days