[Samba] Samba46 Listen queue overflow in FreeBSD 11.1

Timur I. Bakeyev timur at freebsd.org
Sat Jan 20 10:58:13 UTC 2018


While ago I had an idea to look into that area and, possibly, to add
support for the:

accf_data – buffer incoming connections until data arrives
>

that should allow a bit better control over the listen wait queue and
offload the userspace load.

With regards,
Timur Bakeyev.


On Wed, Jan 17, 2018 at 5:20 PM, Peter Eriksson via samba <
samba at lists.samba.org> wrote:

> Ah. Anyway, the patch is pretty straight forward (and you could probably
> write a better one :-). But anyway, here’s a link to a web page where it
> can be downloaded from in case someone else needs it / wants to have a look:
>
>         https://people.ifm.liu.se/peter/patches/samba/ <
> https://people.ifm.liu.se/peter/patches/samba/>
>
> (socket_listen_backlog.patch)
>
> It’s based on Samba 4.7.3 currently.
>
>> [Lı.U] System Administrator ITI-NET IT.LiU.SE +46-13-28 2786
>
> > On 16 Jan 2018, at 23:45, Andrew Bartlett <abartlet at samba.org> wrote:
> >
> > On Tue, 2018-01-16 at 22:56 +0100, Peter Eriksson via samba wrote:
> >> There are a number of rather low listen() queue limits in Samba which
> we also ran into on our pretty busy (around 300-500 users/server) Samba
> servers, also on FreeBSD 11.1 (six servers with 256GB RAM, 2x10Gbit
> ethernet, 140TB of storage).
> >>
> >> Please find enclosed a patch we use to up the limits (quite a bit).
> >
> > Sadly the list ate your patch.  Patches are best sent to samba-
> > technical in any case.
> >
> > Sorry,
> >
> > Andrew Bartlett
> > --
> > Andrew Bartlett                       http://samba.org/~abartlet/
> > Authentication Developer, Samba Team  http://samba.org
> > Samba Developer, Catalyst IT          http://catalyst.net.nz/
> services/samba
> >
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list