How to increase the number of concurrent jobs in Windows

Document ID : KB000031351
Last Modified Date : 14/02/2018
Show Technical Document Details

Environment:

SYSAGT R11.3 on Win2008

 

Problem description:

Several jobs need to be started simultaneously on Windows but failed during their initialization.

Got the following error message when running several concurrent processes SophisValue.exe for example:

Failed to initialize application (CSRBarMenu::addMenu failed to load menu Co&llateral Mgt resId = 223)

It was OK with 2 concurrent jobs but not with more.

 

Solution:

Modify the registry key with the following:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\SubSystems\Windows?%SystemRoot%\system32\csrss.exe ObjectDirectory=\Windows SharedSection=2048,40960,2048 Windows=On SubSystemType=Windows ServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3 ServerDll=winsrv:ConServerDllInitialization,2 ServerDll=sxssrv,4 ProfileControl=Off MaxRequestThreads=16

In  "Windows SharedSection=xxxx,yyyy,zzzz"  option, client increased yyyy from 4096 to 40960.