[Bug 223817] mbuf leaking with tcpmd5

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Nov 23 13:06:41 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223817

            Bug ID: 223817
           Summary: mbuf leaking with tcpmd5
           Product: Base System
           Version: 11.1-RELEASE
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: dinoex at FreeBSD.org

after Upgrading from FreeBSD 10.3 to FreeBSD 11.1
The router freezes after a few hours with mbuf exhaustion.

Custom Kernel, added:
options         TCP_SIGNATURE           #include support for RFC 2385

if md5 sessions with bird and bird6 are disabled, the router is stable.

stable Router:

# netstat -m
291/984/1275 mbufs in use (current/cache/total)
290/470/760/2326 mbuf clusters in use (current/cache/total/max)
290/469 mbuf+clusters out of packet secondary zone in use (current/cache)
0/2/2/1162 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/344 9k jumbo clusters in use (current/cache/total/max)
0/0/0/193 16k jumbo clusters in use (current/cache/total/max)
652K/1194K/1846K bytes allocated to network (current/cache/total)
0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for mbufs delayed (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters delayed (4k/9k/16k)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
0/5/1392 sfbufs in use (current/peak/max)
0 sendfile syscalls
0 sendfile syscalls completed without I/O request
0 requests for I/O initiated by sendfile
0 pages read by sendfile as part of a request
0 pages were valid at time of a sendfile request
0 pages were requested for read ahead by applications
0 pages were read ahead by sendfile
0 times sendfile encountered an already busy page
0 requests for sfbufs denied
0 requests for sfbufs delayed


router with md5 protected sessions:
# netstat -m
5589/486/6075 mbufs in use (current/cache/total)
192/318/510/5012 mbuf clusters in use (current/cache/total/max)
192/314 mbuf+clusters out of packet secondary zone in use (current/cache)
0/2/2/2505 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/742 9k jumbo clusters in use (current/cache/total/max)
0/0/0/417 16k jumbo clusters in use (current/cache/total/max)
1781K/765K/2546K bytes allocated to network (current/cache/total)
0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for mbufs delayed (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters delayed (4k/9k/16k)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
0/4/2416 sfbufs in use (current/peak/max)
0 sendfile syscalls
0 sendfile syscalls completed without I/O request
0 requests for I/O initiated by sendfile
0 pages read by sendfile as part of a request
0 pages were valid at time of a sendfile request
0 pages were requested for read ahead by applications
0 pages were read ahead by sendfile
0 times sendfile encountered an already busy page
0 requests for sfbufs denied
0 requests for sfbufs delayed

console log:
[zone: mbuf] kern.ipc.nmbufs limit reached
sis2.2: unable to prepend VLAN header
[zone: mbuf] kern.ipc.nmbufs limit reached

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list