TCP tuning: increase backlog
Increase socket listen backlog for high-connection services
sysctl -w net.core.somaxconn=65535 net.ipv4.tcp_max_syn_backlog=65535
- tool
- linux133 commands
More linux commands
-
sysctl -w net.core.default_qdisc=fq net.ipv4.tcp_congestion_control=bbrEnable Google BBR congestion control for better throughput
-
ss -ulnpAll UDP listening sockets with process info
-
taskset -cp 0,1 <pid>Pin a running process to specific CPU cores
-
watch -n1 'cat /proc/interrupts | head -30'Per-CPU interrupt counts, updated every second
-
cat /proc/<pid>/limitsHard and soft resource limits for a running process