Traffic Shaping broken in 2.2.6 - worked before in 2.2.5



  • There were error(s) loading the rules: /tmp/rules.debug:73: errors in queue definition - The line in question reads [73]: queue qInternet on em1 bandwidth 2007040Kb hfsc ( ecn , linkshare 2007040Kb , upperlimit 2007040Kb ) { qACK, qVoIP } ]

    I got this error after upgrading to 2.2.6, this rule was done on 2.2.5, I tried to do the same exact rule and received this message in 2.2.6 and the filter wont load anymore.



  • Your queue is set to 2Gbit.

    This seems erroneously high, unless you have 10Gbit NICs.



  • It wasn't working before the upgrade either, you just didn't notice until post-reboot. Can't have a 2 Gb queue on a 1 Gb NIC. Our input validation is lacking there, in that there are a lot of ways to create configs that aren't sane. That's something on my todo list to review as part of 2.3.

    Fix the queues so they have sane bandwidth values and you'll be fine.



  • I have 10Gbps NIC, with 2Gbps Internet



  • @jpinder70:

    I have 10Gbps NIC, with 2Gbps Internet

    Try removing upper-limit

    The link's bitrate should be set at the interface, not with upper-limit.

    Any extra information would be helpful.



  • em1 isn't a 10 Gb NIC, you have a 2 Gb queue on a 1 Gb NIC is the issue.



  • @cmb:

    em1 isn't a 10 Gb NIC, you have a 2 Gb queue on a 1 Gb NIC is the issue.

    Good catch. :)

    @OP, maybe your NICs or there labeling got switched around? Like LAN1 was 10Gbit but somehow the LAN1 label was changed to the 1Gbit emX NIC?


Log in to reply