Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
leocvaz
Contributor III
Contributor III

Engines for genius

If windows server has a limitation of 9 engines...

Why QMC lets us configure unlimited number of engines?

1 Solution

Accepted Solutions
Bill_Britt
Former Employee
Former Employee

Here is the information you are looking for. Please backup your registry before you make any changes.

memory Heap Registry change:

Change the registry setting:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\SubSystems\Windows

Change the GDI and User handle max count in the registry to SharedSection=1024,20480,2048

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

Default is 1024,3072,512 in x86 or 1024,20480,768 in x64

Read more on http://blogs.msdn.com/ntdebugging/archive/2007/07/05/desktop-heap-part-2.aspx

Read more about Desktop Heap on:
http://blogs.msdn.com/ntdebugging/archive/2007/01/04/desktop-heap-overview.aspx
Desktop Memory Heap Registry change:

Change the registry setting:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\SubSystems\Windows

Change the GDI and User handle max count in the registry to SharedSection=1024,20480,2048

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

Default is 1024,3072,512 in x86 or 1024,20480,768 in x64

Read more on http://blogs.msdn.com/ntdebugging/archive/2007/07/05/desktop-heap-part-2.aspx

Read more about Desktop Heap on:
http://blogs.msdn.com/ntdebugging/archive/2007/01/04/desktop-heap-overview.aspx

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.

View solution in original post

15 Replies
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

There is a windows configuration available from support -- and here on the forums -- that provides for greater than 9 engines.

-Rob

leocvaz
Contributor III
Contributor III
Author

Do you have this link to the forum? My server has 48 cores and 256Gb, and I can run just 9 concurrent engines. I 'm wasting server.

Thanks

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

I can't find the article. Please contact Support.

-Rob

Bill_Britt
Former Employee
Former Employee

Here is the information you are looking for. Please backup your registry before you make any changes.

memory Heap Registry change:

Change the registry setting:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\SubSystems\Windows

Change the GDI and User handle max count in the registry to SharedSection=1024,20480,2048

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

Default is 1024,3072,512 in x86 or 1024,20480,768 in x64

Read more on http://blogs.msdn.com/ntdebugging/archive/2007/07/05/desktop-heap-part-2.aspx

Read more about Desktop Heap on:
http://blogs.msdn.com/ntdebugging/archive/2007/01/04/desktop-heap-overview.aspx
Desktop Memory Heap Registry change:

Change the registry setting:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\SubSystems\Windows

Change the GDI and User handle max count in the registry to SharedSection=1024,20480,2048

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

Default is 1024,3072,512 in x86 or 1024,20480,768 in x64

Read more on http://blogs.msdn.com/ntdebugging/archive/2007/07/05/desktop-heap-part-2.aspx

Read more about Desktop Heap on:
http://blogs.msdn.com/ntdebugging/archive/2007/01/04/desktop-heap-overview.aspx

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Thanks Bill!

-Rob

leocvaz
Contributor III
Contributor III
Author

Thanks Bill, this configuration is sufficient to put for example 48 concurrent engines ?

Or these parameters are proportional?

Bill_Britt
Former Employee
Former Employee

It is something you will have to play with. I don't think running 48 concurrent engines would be a good ideal. You have to look at the memory that is used by each task and then save resources for the OS and QVS.

Bill

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.
Not applicable

Hi

As I now ,distribution service himself is controling quanttity of paralel reloads (by setting in QMC). For example if you start 40 tasks at one time but setting is 9 - at same time will be working only 9 but all 40 tasks will be done.

And these 9 tasks will use significiant resources anyway.

Am I true, experts ?

Best regards

Not applicable

Hi,

I have the same problem too.

I'm using 24 cores, 64 bits, 64GB memo.

Initially i set "Max number of simultaneous QlikView engines for distribution:" to 15 in QDS.

and now i set it to 24-1 = 23. still the same result.

What are the risks of changing the heap registry?

Any other way of doing it?