Setting UDP and TCP Kernel Parameters Manually
If you do not use a Fixup script or CVU to set ephemeral ports, then set TCP/IP ephemeral port range parameters to provide enough ephemeral ports for the anticipated server workload.
Ensure that the lower range is set to at least 9000 or higher, to avoid Well Known ports, and to avoid ports in the Registered Ports range commonly used by Oracle and other server ports. Set the port range high enough to avoid reserved ports for any applications you may intend to use. If the lower value of the range you have is greater than 9000, and the range is large enough for your anticipated workload, then you can ignore Oracle Universal Installer warnings regarding the ephemeral port range.
$ cat /proc/sys/net/ipv4/ip_local_port_range
32768 61000
In the preceding example, the lowest port (32768) and the highest port (61000) are set to the default range.
# echo 9000 65500 > /proc/sys/net/ipv4/ip_local_port_range
root
, use a text editor to open /etc/sysctl.conf
, and add or change to the following: net.ipv4.ip_local_port_range = 9000 65500
, and then restart the network:# /etc/rc.d/init.d/network restart
Refer to your Linux distribution system administration documentation for information about automating ephemeral port range alteration on system restarts.
Parent topic: Configuring Kernel Parameters for Linux