[Samba] Odd Samba 4 ("4.2.0pre1-GIT-b505111"; actually only using client) behaviour #2 - "accept: Software caused connection abort".

Jeremy Allison jra at samba.org
Wed Dec 11 17:43:27 MST 2013


On Wed, Dec 11, 2013 at 04:36:44PM -0800, Richard Sharpe wrote:
> 
> We've seen this on FreeBSD. We increased the listen backlog to be the
> same as the system max and the messages went away.

Now *that* is something interesting I didn't know...

We currently have:

source3/include/local.h:#define SMBD_LISTEN_BACKLOG 50
source3/rpc_server/rpc_server.c:        rc = listen(state->fd, SMBD_LISTEN_BACKLOG);
source3/smbd/server.c:  if (listen(s->fd, SMBD_LISTEN_BACKLOG) == -1) {

- maybe we should make this dynamic and
get from the system.

Jeremy.


More information about the samba mailing list