The Terminal Service Gateway may randomly disconnect machines

Article ID: 2029384 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

When we connect to a machine using a Terminal Server Gateway on the domain, the session may get disconnected after a couple of minutes.

The following events will be logged when the Terminal Server Gateway session is initiated and reset using Remote Web Workplace or the Remote Desktop Client:

Log Name: System
Source: Microsoft-Windows-WAS
Date: 5/13/2010 2:58:43 PM
Event ID: 5117
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: CORESBS.Core.local
Description:A worker process with process id of '10884' serving application pool 'SBS Web Applications application pool' has requested a recycle because it reached its private bytes memory limit. 

Log Name: System
Source: Microsoft-Windows-WAS
Date: 5/13/2010 3:00:13 PM
Event ID: 5013
Task Category: None
Level: Warning
Keywords: Classic
User: N/A
Computer: CORESBS.Core.local
Description:A process serving application pool 'SBS Web Applications application pool' exceeded time limits during shut down. The process id was '10884'.


CAUSE

This happens because there is an incorrect recycling pattern for the application pool specified by the event 5117 and 5013.


RESOLUTION

Method 1 (Recommended):

Open Internet Information Services (IIS) Manager from the Administrative Tools on the Windows Start menu.

Navigate to Application Pools in IIS Manager console.

Click to select the SBS Web Applications application pool.

Click on Recycling in the Actions pane on the right.

Uncheck the Change the value of Private memory usage (in KB).

Continue with the Edit Application Pool Recycling Settings dialog box to click Next and Finish.

Restart IIS service.



Method 2:

Open Internet Information Services (IIS) Manager from the Administrative Tools on the Windows Start menu.

Navigate to Application Pools in IIS Manager console.

Open the Advanced Settings of the SBS Web Applications application pool

Navigate to the Recycling section.

Change the value of Private Memory Limit (KB) to 0.

Apply the changes and restart IIS service.


MORE INFORMATION

To know more about IIS Windows Process Activation Service (WAS), refer to this TechNet document: http://technet.microsoft.com/en-us/library/cc735229(WS.10).aspx.


Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 2029384 - Last Review: August 20, 2010 - Revision: 3.0
APPLIES TO
  • Windows Small Business Server 2008 Premium
  • Windows Small Business Server 2008 Standard
Keywords: 
KB2029384

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com