[Bug 234753] net/samba47: socket queue overflow stalls server
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jan 8 15:29:46 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234753
Bug ID: 234753
Summary: net/samba47: socket queue overflow stalls server
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: timur at FreeBSD.org
Reporter: michael.osipov at siemens.com
Assignee: timur at FreeBSD.org
Flags: maintainer-feedback?(timur at FreeBSD.org)
Our server (FreeBSD 11.2-STABLE i386) recently stalled several times with the
following in the logs:
> Jan 8 09:31:30 blnn714x kernel: sonewconn: pcb 0xc85c4be0: Listen queue overflow: 193 already in queue awaiting acceptance (25 occurrences)
> Jan 8 09:32:47 blnn714x kernel: sonewconn: pcb 0xc85c4be0: Listen queue overflow: 193 already in queue awaiting acceptance (2 occurrences)
> Jan 8 09:33:58 blnn714x kernel: sonewconn: pcb 0xc85c4be0: Listen queue overflow: 193 already in queue awaiting acceptance (6 occurrences)
> Jan 8 09:39:30 blnn714x kernel: sonewconn: pcb 0xc85c4be0: Listen queue overflow: 193 already in queue awaiting acceptance (2 occurrences)
A similar issue has been reported on the Samba mailing list a year ago
(https://lists.samba.org/archive/samba/2018-January/213309.html). The socket
queue is too small and hardcoded in Samba:
> Current listen queue sizes (qlen/incqlen/maxqlen)
> Proto Listen Local Address
> tcp4 0/0/128 *.22
> tcp4 0/0/50 147.54.64.14.139
> tcp4 0/0/50 147.54.64.14.445
A decent patch was provided
(https://lists.samba.org/archive/samba/2018-January/213321.html,
https://people.ifm.liu.se/peter/patches/samba/socket_listen_backlog.patch)
though not yet applied.
I requested this on samba-technical
(https://lists.samba.org/archive/samba-technical/2019-January/131870.html).
While this might take time, can we apply this patch to 4.7 and 4.8 to easy the
issue and raise connection queue length?
The patch looks straight-forward to me.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list