FreeBSD Listen Queue Overflows - can't increase max queue size
- by Harry
I have a decently high trafficked FreeBSD Nginx server, and I'm starting to get a large number of listen queue overflows:
[root@svr ~]# netstat -sp tcp | fgrep listen
80361931 listen queue overflows
[root@svr ~]# netstat -Lan | grep "*.80"
tcp4 192/0/128 *.80
[root@svr ~]# sysctl kern.ipc.somaxconn
kern.ipc.somaxconn: 12288
[root@svr ~]#
However I can't seem to increase the max listen queue length past 128. I've increased kern.ipc.somaxconn, but it's not changing the max. Am I missing something?
Thanks!