[Bug 279467] mbuf leaks in PF_LOCAL

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 02 Jun 2024 12:12:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279467

            Bug ID: 279467
           Summary: mbuf leaks in PF_LOCAL
           Product: Base System
           Version: 14.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: dmitry.wagin@ya.ru

Created attachment 251155
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=251155&action=edit
mbuf_leak.c

Before run program:

# netstat -m
1067/9868/10935 mbufs in use (current/cache/total)
1024/6596/7620/4062959 mbuf clusters in use (current/cache/total/max)
0/4318 mbuf+clusters out of packet secondary zone in use (current/cache)
0/4318/4318/2031479 4k (page size) jumbo clusters in use
(current/cache/total/max)
0/0/0/601919 9k jumbo clusters in use (current/cache/total/max)
0/0/0/338579 16k jumbo clusters in use (current/cache/total/max)
2314K/32931K/35245K 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 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 valid and substituted to bogus page
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


After run:

# netstat -m
17981378/324922/18306300 mbufs in use (current/cache/total)
1025/7611/8636/4062959 mbuf clusters in use (current/cache/total/max)
1/4571 mbuf+clusters out of packet secondary zone in use (current/cache)
0/4572/4572/2031479 4k (page size) jumbo clusters in use
(current/cache/total/max)
0/0/0/601919 9k jumbo clusters in use (current/cache/total/max)
0/0/0/338579 16k jumbo clusters in use (current/cache/total/max)
4497394K/114740K/4612135K 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 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 valid and substituted to bogus page
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

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