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

    ALTQ or PF question

    Scheduled Pinned Locked Moved Traffic Shaping
    8 Posts 4 Posters 4.3k 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.
    • A
      aphekz
      last edited by

      hello

      i found this line in my logs:

      Apr 8 09:07:59 php: There were error(s) loading the rules: pfctl: DIOCADDALTQ: Cannot allocate memory - The line in question reads [ DIOCADDALTQ]:

      Is there limited number of rules or queues in traffic shapper?

      edit:
      i made a small modification in file /etc/inc/filter.inc and this error disappears.
      /* –------------
                                    $ipfrules .= "anchor {$queue['name']} tagged {$queue['name']}\n";
                                      $ipfrules .= "load anchor {$queue['name']} from "{$g['tmp_path']}/{$queue['name']}.rules"\n"
      ;
      */

      is this "anchor thing" required?

      1 Reply Last reply Reply Quote 0
      • S
        sullrich
        last edited by

        HFSC is limited to 64 queues IIRC.

        1 Reply Last reply Reply Quote 0
        • A
          aphekz
          last edited by

          okej, so i have a question.

          is there any possibility to shape upload bandwith for 300 users (128kbit/s per user)….
          if not... this situation will change at release 1.2 of pfsense?

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

            You want to add a queue per user for 300 users? ALTQ is not the right shaper to do this. Maybe as long as dummynet doesn't work in pfSense (this won't change for 1.2) m0n0wall would better suite your needs.

            1 Reply Last reply Reply Quote 0
            • A
              aphekz
              last edited by

              thank very much… so i will try m0n0wall

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

                With m0n0wall you can create one pip and make it a per source or destination pipe. This is much easier with dummynet than with altq.

                1 Reply Last reply Reply Quote 0
                • A
                  aldo
                  last edited by

                  @sullrich:

                  HFSC is limited to 64 queues IIRC.

                  sorry no IIRC is this a kernel complie problem or is this a HFSC ALTQPROBLEM

                  1 Reply Last reply Reply Quote 0
                  • S
                    sullrich
                    last edited by

                    #define HFSC_MAX_CLASSES        64

                    /usr/src/sys/contrib/altq/altq/altq_hfsc.h

                    Not sure what would happen when you raise the limit but I have heard others have had success in doing so.

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