If you are experiencing TCP connection timeouts, please consider the following:
- Default TCP Timeouts: The EMH is configured with default TCP timeouts optimized for various network speeds and server configurations. Adjustment of these timeouts is generally unnecessary. Timeouts during the "connect" phase are often due to server issues or problems within the server's local network. Investigate these areas first. Adjustment at the EMH level can mask underlying problems or even exacerbate them on the server side.
- Connect() Function Performance: The connect() function should execute quickly. If it does not, the server might be overloaded, or there could be a bottleneck, such as acquiring a lock on a database. Increasing the timeout can add to the server load. Instead, review the upload retry settings in the EMH. Retrying too quickly when the server is already overloaded can worsen the issue.
- Quality of Service (QoS) Configuration: Ensure that the server's local network, including any routers or firewalls, has packet-level Quality of Service (QoS) properly configured. If the network is shared with other high-bandwidth or bursty network activities, QoS can be further optimized, to avoid packet loss manifesting as timeout issues.
Last edited: