During a high-profile, business-critical consulting project today, the following worked wonders.....don't be caught out Citrix Presentation Server implementers.
Session Reliability and Maximum Number of Connections
| Document ID: |
CTX107902 |
| Created: |
Nov 10, 2005 |
| Updated: |
Mar 29, 2007 |
| Products: |
Citrix Presentation Server 4.0 for Microsoft Windows 2003, Citrix Presentation Server 4.0 x64 Edition, Citrix Presentation Server 4.5 for Windows Server 2003, Citrix Presentation Server 4.5 for Windows Server 2003 x64 Edition |
Summary
This document describes how to increase the number of connections, which is limited to 150 users when Session Reliability is enabled, on a server that may be powerful enough to accept more.
Background
When Session Reliability is enabled for client connections, the number of connections is limited to 150 users on a server that may be powerful enough to accept more. This is because of the ThreadsPerChild value of 150 in the httpd.conf configuration file located in the %Program Files%\Citrix\XTE\conf folder.
Procedure
Caution! This fix requires you to edit the registry. Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.
The value is persistent, but can be changed by editing the registry using the following:
1. Go to Regedit.
2. Under HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\XTEConfig add a DWord Value called MaxThreads.
Modify the value of MaxThreads to a decimal value equal to or greater than the number of users you expect the machine to support.
3. After the value is set, stop and restart the IMA Service or restart the machine so that your changes can take effect.