Freebsd – Increase number of connections per socket

freebsdnetworkingsockettcp

How do I increase the number of connections each socket can accept?

I know that you can increase the total number of connections using:

# sysctl kern.ipc.somaxconn=4096

But each connection is then still limited to 128.

How do I increase the total connections per socket?

Best Answer

Found my answer on another thread, seems like this is specifically an application issue. FreeBSD Listen Queue Overflows - can't increase max queue size