SUSE Support

Here When You Need Us

number of SYN retries does not match value in /proc/sys/net/ipv4/tcp_syn_retries

This document (7010211) is provided subject to the disclaimer at the end of this document.

Environment


SUSE Linux Enterprise Server 11 Service Pack 1

Situation

The default value of syn retries, /proc/sys/net/ipv4/tcp_syn_retries is set to 5 but the actual number of syn retries appear to be smaller.
This is different from previous SUSE Linux Enterprise versions and with kernel up to 2.6.31, where the actual number of syn retries is the number in tcp_syn_retries + 1.
This results in less time spent in trying to establish the connection before the client gives up.
The old default connection timeout was ~180 seconds, while the new one is about ~23 seconds.
The reason is a change in kernel 2.6.32, using calculation instead of a direct definition of the retries number.

Resolution

A patch is adding a syn_set flag to the retransmits_timed_out() routine, to make sure the sysctl_syn_retries use the actual value. The patch is included in the SUSE Linux Enterprise 11 Service Pack 2, and the mismatch should be corrected.

As workaround on SUSE Linux Enterprise 11 Service Pack 1 the number of /proc/sys/net/ipv4/tcp_syn_retries can be increased.

Additional Information


Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7010211
  • Creation Date: 23-Feb-2012
  • Modified Date:12-Oct-2022
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.