MAX_LISTEN_SOCKS limit reached

Started by reneh, February 28, 2024, 12:30:26 PM

Previous topic - Next topic
Hello all,

I continue to get the following warning in the log:

/usr/local/etc/rc.newwanipv6: The SSH listening address ::1 cannot be added due to MAX_LISTEN_SOCKS limit reached.

sysctl kern.ipc.maxsockets returns: kern.ipc.maxsockets: 517927

Any suggestion on how to fix?

Many thanks

OpenSSH has a rather low but hard limit on explicit listening addresses and you seem to be abusing the OpenSSH listening interface selection in the GUI more than necessary. Just let it select all automatically (which is the default and the only recommended setting) or tone down your selection there.


Cheers,
Franco