Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    FAIRQ traffic shaping setup results in pfctl segmentation fault

    Scheduled Pinned Locked Moved Traffic Shaping
    2 Posts 2 Posters 536 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tschan
      last edited by

      Hi there,

      yesterday I tried to switch my PRIQ traffic shaping setup over to FAIRQ. It seemed to be working at least until my DSL connection was disconnected and reestablished. After that outbound NAT broke completely.

      After a lot of investigating I realized that pfctl was crashing when trying to load the automatically generated ruleset.

      [2.5.2-RELEASE][admin@pfsense.homenet]/root: pfctl -f /tmp/rules.debug
      Segmentation fault (core dumped)
      

      I tracked the offending rules down to this:

       altq on pppoe2 fairq bandwidth 100Mb queue {  qACK,  qDefault,  qGames,  qOthersHigh,  qOthersLow  }
      queue qACK on pppoe2 priority 6 fairq (  codel  , ecn  )
      queue qDefault on pppoe2 priority 3 fairq (  codel  , ecn  , default  )
      queue qGames on pppoe2 priority 5 fairq (  codel  , ecn  )
      queue qOthersHigh on pppoe2 priority 4 fairq (  codel  , ecn  )
      queue qOthersLow on pppoe2 priority 2 fairq (  codel  , ecn  )
      

      As soon as this was removed (or changed from fairq to priq) it was no longer crashing.

      This is my queue setup in the GUI:
      screenshot-20211017-121817.png
      screenshot-20211017-121849.png

      Did I hit a bug in pfSense or am I doing something wrong?

      demD 1 Reply Last reply Reply Quote 0
      • demD
        dem @tschan
        last edited by

        @tschan This sounds like bug #11550, which is marked as closed but doesn't appear to be.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.