3.6.16 TCP/IP Tuning - sockthresh

Information

The sockthresh parameter value determines what percentage of the total memory allocated to networking, set via thewall, can be used for sockets.

The sockthresh parameter will be set to 60. This means that 60% of network memory can be used to service new socket connections, the remaining 40% is reserved for existing sockets. This ensures a quality of service for existing connections.

Solution

In /etc/tunables/nextboot, add the sockthresh entry-

no -p -o sockthresh=60

This makes the change permanent by adding the entry into /etc/tunables/nextboot.

See Also

https://workbench.cisecurity.org/files/528