These values are based on the environmental testing of a single tier environment utilizing Windows Server 2019, Windows SQL Server 2019, and Sage X3 Runtime R94.1.X versions. All recommended values above are estimates and should be used as a base configuration. All environments are unique (treated as such), and adjustments of these values will need to be vetted in a test environment.
CAUTION: This solution needs advanced Operating System knowledge. Consult your system administrator for help. Sage isn't liable for issues caused by improper changes to the Windows Registry. Always back up your data before applying advanced solutions.
CAUTION: Sage support can't assist with third-party products, hardware, report customizations, or state and federal tax questions. Refer to our Scope of Support for more info. Contact your Sage business partner, network administrator, or accountant for assistance.Microsoft Windows timeout session allocation (KeepAlive) configuration guidelines for Sage X3 Environments.
The chart below shows estimated values for configuring the timeout session allocation (KeepAlive) as it pertains to Sage X3 active Convergence Sessions (AKA Classic Sessions) generated by the Runtime Server component. These changes are made to the Microsoft Windows Registry. See further down the article on how to change or create these Windows Registry values.
| Key Name (DWORD) | Recommended Value (unit) | Explanation |
| KeepAliveTime | 600000 (ms) | Frequency at which keepalive packets are sent. Should be less than the cutover time of network equipment (generally 1 or 2 hours). A few minutes (but not under 2 minutes) is generally the best compromise. |
| KeepAliveInterval | 30000 (ms) | Grace delay between keepalives retries, should be smaller than KeepAliveTime |
| TcpMaxDataRetransmissions | 5 (numeric value) | Max # of keepalive retries before failing the connection |
Changing the Registry Value:
Before you begin:
WARNING: This is a Windows registry change. The proper precautions should be followed (i.e., backup or restore points) before attempting to change Windows Registry configurations.
Steps for Creating the entries in Windows Registry:
DocLink: KeepAlive Timeout Issues
DocLink: ECONNRESET error - Web Sessions stuck in User Monitor
DocLink: Batch Server Tasks increasingly failing with ECONNRESET errors