Tune TCP: socket backlog
Increase the maximum listen backlog for sockets.
sysctl -w net.core.somaxconn=65535
- tool
- linux133 commands
More linux commands
-
lscpuShow the CPU architecture and the number of cores.
-
find / -type f -size +100M -exec ls -lh {} \; 2>/dev/null | sort -k5 -rh | head -20Find files larger than 100MB and show the 20 biggest.
-
du -sh /* 2>/dev/null | sort -rh | head -15Show the 15 largest top-level directories.
-
ss -tlnpShow listening TCP ports with PID and process name. The modern replacement for netstat.
-
ss -tlnp | grep :<port>Show which process is listening on a given port.