The Possible SYN flooding message indicates that the kernel has detected pressure on the TCP connection request queue. It does not automatically prove that your server is under a DDoS attack.
Possible causes include:
- Large numbers of legitimate simultaneous connections.
- SYN flood attacks.
- Slow application response times.
- An undersized TCP SYN backlog.
- Network or firewall-related connection delays.
Start with these checks:
Inspect TCP connection statistics:
ss -s
Check listening sockets and their queue sizes:
sudo ss -lnt
Inspect SYN-related kernel counters:
netstat -s | grep -iE "listen|SYN"
Monitor incoming connection patterns:
sudo tcpdump -nn -i any 'tcp[tcpflags] & tcp-syn != 0'
Review web server connection limits and application response times.
Check firewall logs and contact your provider if the traffic appears malicious or overwhelms the network.
Only consider changing settings such as net.core.somaxconn or net.ipv4.tcp_max_syn_backlog after identifying the actual bottleneck. Increasing backlog limits alone cannot protect a VPS from an upstream network flood.