Windows registry changes for Ventrilo Hosts and servers with a lot of services

**Reported by numerous Ventrilo Hosts**

By default the Windows Server OS will only handle an unspecified number of concurrently running services. Normally this would not effect any game hoster as the limit seems to be quite high by default (around 120-130) services active per machine.

However, since Ventrilo uses very little resources, host tend to install hundreds of instances per server. However, the windows system runs into a memory problem when this many services are run at the same time. This can cause system instability, and odd thing to happen.

Below is a registry editing guide to fix this problem. Please use this at your own risk, and TCAdmin is not liable for any of this information, or any damage you may do by editing your registry. It is also a good idea to back the registry before performing this, just in case.

For servers with 32bits version of Windows 2003:

Open the Registry (regedit.exe) and go to:

My Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management

And adjust two keys:

SessionPoolSize (this is 4 by default, put it to be 10 - remember, 10 as hexadecimal)
SessionViewSize (this is 30 by default, put it to 80 - again, hexadecimal)

Go to:

My Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems

And double-click Windows key and make it like this:

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

What is important (and the only thing that gets changed for that matter) is "SharedSection=1024,5120,2048".

Close the registry and reboot the server for changes to take affect.

For servers with 64bits version of Windows 2003:


Download this file and execute the 2 .reg files to apply the registry changes. Reboot the server for the changes to take effect.

 

For servers with Windows 2008/2012/2016/2019:

Open the Registry (regedit.exe) and go to:

My Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management

And adjust two keys:

SessionPoolSize (this is 4 by default, put it to be 10 - remember, 10 as hexadecimal)
SessionViewSize (this is 30 by default, put it to 80 - again, hexadecimal)

Go to:

My Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems

And double-click on the Windows key.
What is important (and the only thing that gets changed for that matter) is "SharedSection=1024,20480,2048".

Close the registry and reboot the server for changes to take affect.

  • 188 Users Found This Useful
Was this answer helpful?

Related Articles

Installing Internet Information Services (IIS)

Installing IIS on Windows 2000:...

Increasing the 10 connection limit on Windows XP IIS web server

By default IIS on IIS is limited to 10 connections. This can be increased to 40 connections. To...

How to fix 100% CPU used by w3wp.exe

IIS configuration:- Log in to your master server's remote desktop.- Go to Start > Control...

TCAdmin Monitor Does not start on Win2k8

We have had a few clients that have upgraded to the latest version of Windows 2008 Server that...

How to connect to MS Remote Desktop in console mode

For those of you that use our "interact with desktop" feature within TCAdmin you must login in...