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

    Adding and removing shaper repeatedly causing interface crash on 2.2

    Scheduled Pinned Locked Moved Traffic Shaping
    7 Posts 5 Posters 2.0k 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.
    • D
      doktornotor Banned
      last edited by

      Can someone test this if you are seeing the same?

      0. Make a backup of your shaper settings if you have some in place, remove the shaper after that.
      1. Go to Firewall - Traffic Shaper - WAN, set up a quick shaper like this (The bandwidth does not matter for this test, can be empty as well.)

      Press Save, Apply.

      2. Browse for a minute or two to check that the shaper is in place and works (Status - Queues).
      3. Remove the shaper.
      4. Wash, rinse, repeat steps 1-3 a couple more times if still alive.

      This managed to kill WAN in 3-4 cycles on any box I tried. PPPoE with DHCP, cable modem with fixed IP, … does not matter. (Probably "works" with other interfaces as well... just not keen on trying and cutting myself off the firewall ATM  ::))

      Cptn. Obvious notes: Do NOT test this on a remote box! Do NOT test this on LAN interface if you don't have physical/serial console attached to reboot the box.

      1 Reply Last reply Reply Quote 0
      • T
        tuffcalc
        last edited by

        Confirmed.

        1 Reply Last reply Reply Quote 0
        • H
          hda
          last edited by

          @doktornotor:

          Can someone test this if you are seeing the same?

          Yes.
          1st time the box (Alix2d13) et.al. went slow responsiveness after a full load download & browsing. The 2nd time after removal of Shaper WAN died. States reporting went out of control. Like 8 on the Status: Dashboard, some 170 more on Diagnostics: Show States.

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned
            last edited by

            Thanks everyone so far - bug reported: https://redmine.pfsense.org/issues/4424 (if someone else wants to kill their box temporarily, feel free to help :D)

            1 Reply Last reply Reply Quote 0
            • E
              eri--
              last edited by

              Any backtrace or it just stalls?

              1 Reply Last reply Reply Quote 0
              • D
                doktornotor Banned
                last edited by

                @ermal:

                Any backtrace or it just stalls?

                No backtrace here… On PPPoE, you can manually disconnect and reconnect if you are patient enough to wait for many many minutes because the GUI is almost unresponsive. On anything else, only a reboot fixes this.

                1 Reply Last reply Reply Quote 0
                • C
                  chrislee
                  last edited by

                  Aside this, i also realized from Status >> RRD Graphs >> Queues & QueueDrops for WAN are missing too, another Codel specific cosmetic bug?

                  Related system log: ""php-fpm[245]: /status_rrd_graph_settings.php: RRD create failed exited with 1, the error is: ERROR: you must define at least one Data Source""

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