Networking: TCP: request_sock_TCP: Possible SYN flooding on port 80. Sending cookies. Check SNMP counters.
The server's pending-connection queue filled, so the kernel switched to SYN cookies to survive.
Possible SYN flooding on port 80TCP: request_sock_TCP: Possible SYN floodingSending cookies. Check SNMP counters. Meaning
It can be a real SYN flood or just a traffic spike with a small backlog. Raise net.core.somaxconn and net.ipv4.tcp_max_syn_backlog, keep tcp_syncookies=1, rate limit with the firewall or a CDN/WAF, and check the application accepts connections quickly.
Common causes
- Actual SYN flood attack
- Traffic spike with small listen backlog
- Slow accept() loop in the application
- No CDN/rate limiting in front
- Low
tcp_max_syn_backlog
⚡ Quick fix
- Keep
net.ipv4.tcp_syncookies=1 - Raise
somaxconnandtcp_max_syn_backlog - Rate limit or move behind a CDN/WAF
Detailed fix by platform
Linux
- bash
sysctl net.ipv4.tcp_syncookies net.ipv4.tcp_max_syn_backlog net.core.somaxconn netstat -s | grep -i "SYNs to LISTEN"
How to diagnose
- Source — Attack or spike?
- Backlog — Large enough?
- SYN cookies — On?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
- Cannot assign requested address (EADDRNOTAVAIL) Networking: connect: Cannot assign requested address — ephemeral port range exhausted by TIME_WAIT connections
- Cloudflare 502 Cloudflare-branded 502 Bad Gateway / 504 Gateway Timeout ("cloudflare" footer)
- Connections hang on large transfers (PMTU black hole) Networking: SSH/HTTPS connects but hangs on large data — path MTU discovery black hole
Most viewed in Networking
- Native VLAN mismatch / wrong VLAN, no connectivity Networking: %CDP-4-NATIVE_VLAN_MISMATCH / device on the wrong VLAN can't reach the gateway
- Port err-disabled (psecure-violation) Networking: %PM-4-ERR_DISABLE: psecure-violation error detected on Gi0/5, putting Gi0/5 in err-disable state
- Rogue DHCP server hands out wrong gateway/DNS Networking: Clients receive the wrong default gateway or DNS server — a rogue DHCP server (often a home router) answers first
Other ways to find it
Where this error sits
Origin: Network. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Report a correction or suggest an improvement
Last updated 5 Nov 2026