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

Question - fq_codel_enqueue over limit ?

Scheduled Pinned Locked Moved Traffic Shaping
7 Posts 3 Posters 1.9k 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.
  • R
    RobbieTT
    last edited by Apr 11, 2023, 8:34 PM

    Syslog fills with these when my WAN download is at or close to maximum load:

    Apr 11 19:21:37	kernel		fq_codel_enqueue maxidx = 422
    Apr 11 19:21:37	kernel		fq_codel_enqueue over limit
    Apr 11 19:21:37	kernel		fq_codel_enqueue maxidx = 422
    Apr 11 19:21:37	kernel		fq_codel_enqueue over limit
    Apr 11 19:21:37	kernel		fq_codel_enqueue maxidx = 422
    Apr 11 19:21:37	kernel		fq_codel_enqueue over limit
    Apr 11 19:21:37	kernel		fq_codel_enqueue maxidx = 422
    Apr 11 19:21:37	kernel		fq_codel_enqueue over limit
    Apr 11 19:21:37	kernel		fq_codel_enqueue maxidx = 422
    Apr 11 19:21:37	kernel		fq_codel_enqueue over limit
    Apr 11 19:21:37	kernel		fq_codel_enqueue maxidx = 422
    Apr 11 19:21:37	kernel		fq_codel_enqueue over limit
    Apr 11 19:21:37	kernel		fq_codel_enqueue maxidx = 422
    Apr 11 19:21:37	kernel		fq_codel_enqueue over limit
    

    I have 1 GbE download, hosted on a 2.5 GbE interface (igc3) with a single LAN and a VLAN on a SFP+ interface (ix1).

    I have pushed my queue lengths and other FQ_CoDel parameters pretty high but still get the enqueue over limit:

     2023-04-11 at 21.06.59.png

    Have I missed something obvious or set something inappropriate in my config?

    ☕️

    1 Reply Last reply Reply Quote 0
    • H
      hpeters63
      last edited by Apr 12, 2023, 2:20 PM

      Try adjusting limit and flows.

      limit m specifies the hard size limit (in unit of packets) all queues managed by an instance of the scheduler. The default value of m is 10240 packets, and the maximum acceptable value is 20480 packets.

      flows m specifies the total number of flow queues (sub-queues) that fq_* creates and manages. By default, 1024 sub queues are created when an instance of the fq_{codel/pie} scheduler is created. The maximum acceptable value is 65536.

      R 1 Reply Last reply Apr 12, 2023, 2:29 PM Reply Quote 0
      • R
        RobbieTT @hpeters63
        last edited by Apr 12, 2023, 2:29 PM

        @hpeters63
        Thanks, so I need to increase either the 'limit' or 'flows' or perhaps both.

        With the limit set at 10240 and the flows at 1024 they already seemed pretty high but I will try increasing them further.

        ☕️

        H 1 Reply Last reply Apr 12, 2023, 2:56 PM Reply Quote 0
        • H
          hpeters63 @RobbieTT
          last edited by Apr 12, 2023, 2:56 PM

          I would just set both to max and if the problem goes away fine tune it later.

          R 1 Reply Last reply Apr 12, 2023, 3:47 PM Reply Quote 1
          • R
            RobbieTT @hpeters63
            last edited by Apr 12, 2023, 3:47 PM

            @hpeters63 said in Question - fq_codel_enqueue over limit ?:

            I would just set both to max and if the problem goes away fine tune it later.

            Fair answer!

            ☕️

            1 Reply Last reply Reply Quote 0
            • M
              MagikMark
              last edited by Apr 26, 2023, 7:33 AM

              Try Max:

              Limit 20480
              Flows 65535 (Don't use 65536 as it may cause endless boot)

              You may also want to consider:

              Quantum 300
              Default settings for Target & Interval
              Queue Length 3000 or 4000

              Increasing these parameters may cause Higher latency especially if you use VPN. It may also interact diffirently with your ISP network condition. Make sure OFFloads are disabled. Shutdown Network for at least 5 minutes then reboot

              Just wondering, how did you view the log file of fq_codel error?

              R 1 Reply Last reply Apr 26, 2023, 8:10 AM Reply Quote 0
              • R
                RobbieTT @MagikMark
                last edited by Apr 26, 2023, 8:10 AM

                @magikmark
                Thanks very much for the tailored advice. 👍

                The fq_codel error logs are pulled from /var/log/system.log so they also show in the GUI under Status/System Logs/System/General.

                For whatever reason the errors promptly ceased after an unrelated update & reboot, so I have not had a chance to apply and monitor the suggested values. The 'observer effect' no doubt.

                ☕️

                1 Reply Last reply Reply Quote 1
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                  This community forum collects and processes your personal information.
                  consent.not_received