Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Jan 2017 18:22:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 215716] [altq] pfctl: DIOCADDALTQ: Cannot allocate memory
Message-ID:  <bug-215716-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215716

            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@FreeBSD.org
          Reporter: dgilbert@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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215716-8>