Apply patch for socken listen backlog (FreeBSD)

Andrew Walker awalker at
Fri Jan 11 18:29:54 UTC 2019

This is perhaps a more targeted fix for FreeBSD. If a 'backlog' value of
less than zero is specified, then the backlog is silently forced to
kern.ipc.soacceptqueue on FreeBSD. Do note that we have observed
significant problems in large environments on FreeBSD that required this
change, and so there is definitely merit in addressing it in some way.

On Tue, Jan 8, 2019 at 10:19 AM Osipov, Michael via samba-technical <
samba-technical at> wrote:

> Folks,
> a year ago Peter Eriksson [1] provided a decent patch [2] for the listen
> queue overflow on FreeBSD. We have been hit by this too twice today.
> I can see that this patch has not been applied. Is there any obstacle
> here? Can we apply this? Shall I provide a PR on GH? We'd need it for at
> least 4.8 or 4.7. 4.9 is not yet available on the FreeBSD ports tree.
> Regards,
> Michael
> [1]
> [2]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Set-default-listen-backlog-to-1-for-FreeBSD.patch
Type: text/x-patch
Size: 3443 bytes
Desc: not available
URL: <>

More information about the samba-technical mailing list