Changes to the community structure and the menu bar
Significant changes have happened to the structure of our community and our drop down menu bar. READ ABOUT IT HERE
Performance Center User Discussions
cancel

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

Highlighted
 Honored Contributor... rkoduri  Honored Contributor...
 Honored Contributor...

(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

HP Support

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
Top Contributors Last 30 Days