TCP/IP tuning — backlog

Increase the maximum connection backlog for sockets

sysctl -w net.core.somaxconn=65535

tool
linux133 commands
tags
linuxnetworksysctltcptuning

More linux commands

  • lscpu

    Display CPU architecture and core count information

  • find / -type f -size +100M -exec ls -lh {} \; 2>/dev/null | sort -k5 -rh | head -20

    Find files larger than 100MB sorted by size

  • du -sh /* 2>/dev/null | sort -rh | head -15

    Top 15 largest directories at root level

  • ss -tlnp

    TCP listening ports with PID and process name (modern netstat)

  • ss -tlnp | grep :<port>

    Which process is listening on a specific port

all 133 linux commands