Question
Are there suggested TCP parameters that should be changed on a Linux server running webNetwork?
Linux Server OS out of the box should function properly with webNetwork. However, some customers have had to follow this information due to their specific environment.
Solution
To clear unused connections faster its recommended that you change the Linux default values for the following two parameters:
Important: This solution requires adjusting Linux kernel parameters. You should make a note of the original values so you can reset them if necessary.
- Reduce the client TCP/IP socket connection timeout value from the default value of 60 seconds to 30 seconds.
sysctl -w net.ipv4.tcp_fin_timeout=30
- Increase the upper range of ephemeral ports that are dynamically allocated to client TCP/IP socket connections.from the default of 28232 to the range 1024 - 65535.
sysctl -w net.ipv4.ip_local_port_range=1024 65535
These changes should help with server resources not being released in a timely manner on a high usage webNetwork server.