FreeBSD Listen Queue Overflows - can't increase max queue size

Posted by Harry on Server Fault See other posts from Server Fault or by Harry
Published on 2012-10-29T15:25:10Z Indexed on 2012/10/29 17:04 UTC
Read the original article Hit count: 520

Filed under:
|
|
|
|

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!

© Server Fault or respective owner

Related posts about nginx

Related posts about freebsd