Description
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.
Resolution
CAUTION: Sage Customer Support cannot assist with issues related to third-party products or enhancements, hardware, report customizations, state or federal tax-related questions, or specific accounting questions. Refer to our Scope of Support document for details. For assistance, contact your Sage business partner, network administrator, or accountant.
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.
- Load Windows Regedit (registry editor),
- This can be done by right clicking Start, select Run, then typing regedit (in the box) and hitting Enter.
- In the Registry Editor, Navigate to the following directory:
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
- Locate the three entries listed above in the chart. If they exist, continue to the next step. If they do not exist, you will have to create them. See “Steps for Creating the entries in Windows Registry” at the end of the steps.
- Right click on the first DWORD entry and select Modify
- Change the value to match the chart above (i.e., if its KeepAliveTime set the value to 600000)
- Click the OK button to save the change.
- Repeat steps for the other two entries.
- Once finished, reboot machine.
- Repeat these entry changes on all Windows Servers associated to the Sage X3 Environment.
- Note: These changes require a machine restart for the changes to take effect.
Steps for Creating the entries in Windows Registry:
- Load Windows Regedit (registry editor),
- This can be done by right clicking on Start, select Run, then typing regedit (in the box) and hitting enter.
- In the Registry Editor, Navigate to the following directory:
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
- Right click in the right side of the editor (where other records are seen), select New, select DWORD.
- Name the DWORD record KeepAliveTime (case sensitive)
- Click away to change the name,
- Right click the new DWORD record and select Modify.
- Type in 600000 and tab away.
- Click OK to close and save the record.
- Repeat steps for the other two entries.
- Once finished, close the Registry Editor and reboot the machine.
- Repeat these entry changes on all Windows Servers associated to the Sage X3 Environment.
- Note: These changes require a machine restart for the changes to take effect.
DocLink: KeepAlive Timeout Issues
DocLink: ECONNRESET error - Web Sessions stuck in User Monitor
DocLink: Batch Server Tasks increasingly failing with ECONNRESET errors