Same outgoing TCP source port numbers are heavily reused when a large block of the local port range is reserved
Issue
- Same outgoing TCP source port numbers are heavily reused when a large block of the local port range is reserved
- RHEL reuses same ports
- We have problems with our RHEL acting as client because remote server is not accepting some of our connection request because the remote is still in
TIME_WAIT
state and we are reusing same port. - When SAP applications run on RHEL, a high number of ports are reserved, and port numbers 40403, 40404, 40405, 40406 are constantly selected as ephemeral port for other outgoing connections from non-SAP applications
Environment
- Red Hat Enterprise Linux (all versions)
- TCP (Transmission Control Protocol)
- Large number of
net.ipv4.ip_local_reserved_ports
coveringnet.ipv4.ip_local_port_range
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.