Check your TCP network buffer size to ensure that it is adequate for the speed of your servers.
To check the current TCP buffer size, enter the following command:
# sysctl -a |grep -e net.ipv4.tcp_[rw]mem
The output of this command is similar to the following:
net.ipv4.tcp_rmem = 4096 87380 1048576 net.ipv4.tcp_wmem = 4096 16384 1048576
Oracle recommends that you set the value based on the link speed of your servers. For example, perform the following steps:
As root
, use a text editor to open /etc/sysctl.conf
, and add or change the following:
net.ipv4.tcp_rmem = 4096 87380 4194304 net.ipv4.tcp_wmem = 4096 16384 4194304
Apply your changes by running the following command:
# sysctl -p
Restart the network:
# /etc/rc.d/init.d/network restart