Citrix Presentation Server stops accepting new connections, and existing connections stop responding
Issue
A Presentation Server 4.5 server may stop accepting new connections, and existing connections may stop responding. Although slow, the console can be logged onto, but appears to be in a deadlocked condition.
A particular symptom of this issue is that after logging onto the console and starting Task Manager, it only appears in the System Tray, and not as a full window.
This is typically seen on high utilisation Citrix servers, such as virtual machines, although not exclusively.
Resolution
This issue occurs because of two root causes.
1) Microsoft
This issue occurs because of incorrect synchronization within a very small timing window in the Terminal Services device driver (TermDD.sys). Resolved by MSKB956438.
2) Citrix
A Citrix thread runs out of terminal service kernel mode output buffers (OUTBUF), while holding the connection resource and indirectly causing the terminal service threads to hang (mod_cgp.so module of the Citrix XTE service). Resolved by CTX123083.
Update: The limited release CTX123083 has been superseded by a general release CTX123956 for R05 or Hotfix Rollup Pack 6 (CTX122756)
To determine if this is caused by the Citrix issue, restart the Citrix XTE service. If the XTE service is the issue, the server will become busy as it processes the queue, then users will be able to re-connect to their sessions that have become disconnected due to the XTE Services role in Session Reliability. This can be worked around by disabling the XTE service (and therefore Session Reliability).
References
Products
Citrix Presentation Server 4.5
Microsoft Windows Server 2003 SP2
Created: 23rd November 2009
Updated: 3rd June 2010
© 2005-2024 Jamie Morrison