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

    Limiters Issue

    Scheduled Pinned Locked Moved Traffic Shaping
    3 Posts 2 Posters 1.2k 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.
    • J
      jpalacio
      last edited by

      Hi all:

      I am using the latest amd64 version 2.1 and I am trying to configure some limiters . I found that there is a limit of 30 limiters, when trying to add the 31st , it comes with an error  " you need at least one bw specification".

      I've checked the shaper.inc code and certainly its limited to 30 limiters :

      Line 3045  of shaper.inc

       for ($i = 0; $i < 30; $i++) {
                              if (!empty($data["bwsched{$i}"])) {
                                      if ($data["bwsched{$i}"] != "none")
                                              $schedule++;
                                      else
                                              $schedulenone++;
      

      https://github.com/pfsense/pfsense/blob/dda9c67f7f8fdc3401a0d3c7b885630d128e2fbb/etc/inc/shaper.inc#L3045

      Is this right?? Any advice on how to manage the situation when you want to use more than 30 limiters??

      Thanks

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

        That is just an input validation limited to the number of 30.

        Its not limiting the number of pipes.

        1 Reply Last reply Reply Quote 0
        • J
          jpalacio
          last edited by

          @ermal:

          That is just an input validation limited to the number of 30.

          Its not limiting the number of pipes.

          Hi , thanks for  answering.

          I havent managed to get more than 30 pipes due to this. The  message " you need at least one bw specification" shows as you try to add the 31st bw specification. How could I get more than 30 pipes?

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