[Bug 215716] [altq] pfctl: DIOCADDALTQ: Cannot allocate memory

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jan 2 18:22:21 UTC 2017


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

            Bug ID: 215716
           Summary: [altq] pfctl: DIOCADDALTQ: Cannot allocate memory
           Product: Base System
           Version: 11.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: dgilbert at eicat.ca

I have a machine with 32G physical RAM that's trying to run the following
pf.conf:

scrub in all

altq on tun20 cbq bandwidth 20Mb queue { std_out, sip_out, dns_out,
tcp_ack_out, rtp_out }

queue rtp_out bandwidth 1Mb priority 5 cbq(borrow)
queue tcp_ack_out bandwidth 1Mb priority 4 cbq(borrow)
queue dns_out bandwidth 1Mb priority 3 cbq(borrow)
queue sip_out bandwidth 1Mb priority 2 cbq(borrow)
queue std_out bandwidth 16Mb priority 1 cbq(ecn, default, borrow)

pass in quick on tun20 proto udp from any to any tos 46 queue rtp_out
pass in quick on tun20 proto udp from any to any tos 26 queue sip_out
pass in quick on tun20 proto {udp, tcp} from any port 53 to any queue (dns_out,
tcp_ack_out)
pass in quick on tun20 from to any queue (std_out, tcp_ack_out)

... which isn't too much to ask.  Pretty much the same table is being used by a
10.3 host controlling the other end of the connection (changing 20Mb for 9 Mb,
for instance).  But on the 11.0 machine (and on 11-STABLE) it gives:

pfctl: DIOCADDALTQ: Cannot allocate memory

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


More information about the freebsd-bugs mailing list