[Firehol-support] text "ERROR" shown by "fireqos status" for first class in class group

Tsaousis, Costa costa at tsaousis.gr
Tue Apr 21 19:46:47 BST 2015


Very nice job Phineas,

It seams good. I have pushed the change to github.

I just noticed what you also noted on your tc output. Normally all the
fq_codel classes that tc automatically creates are at the end. This is
the first time I see one in between the htb classes.

Anyway, thanks for tracing and fixing it!

Costa


On Tue, Apr 21, 2015 at 7:53 PM, Phineas Gage <phineas919 at gmail.com> wrote:
> Hi Costa, I think this fix will work:
>
> --- fireqos.in 2015-04-16 21:32:58.000000000 +0200
> +++ fireqos 2015-04-21 18:25:42.000000000 +0200
> @@ -3034,6 +3034,7 @@
>
>   getdata() {
>   eval "`${tc_cmd} -s class show dev ${1} | ${tr_cmd} "\n,()" "|   " |
> ${sed_cmd} \
> + -e "s/[^|]|class /||class /g" \
>   -e "s/ \+/ /g" \
>   -e "s/ *| */|/g" \
>   -e "s/||/\n/g" \
>
> Notice that in the output I sent before from my “tc -s class show dev eth1”,
> at least on my machine, there is no blank line before "class htb 12:11”,
> which is my "voip” class. That’s because there’s no blank line after _any_
> class section starting with “class fq_codel”, for some reason. Is that the
> same for you?
>
> The fix adds a line at the beginning of the sed script chain in getdata() to
> make sure any class keyword has “||" before it, and not just “|”. You can
> see below the difference this makes in the output before it’s piped to the
> awk command. The fq_codel classes no longer get erroneously concatenated
> together with the class following it.
>
> Hope that helps, and feel free to check the work in case there’s a more
> proper fix...
>
> Phineas
>
> —— without patch ——
> class htb 1_11 rate 50000000 ceil 50000000 burst 1600 cburst 1600 Sent
> 1257343 bytes 9346 pkt dropped 0 overlimits 0 requeues 0 rate 0 0 backlog 0
> 0 requeues 0 lended_ 9346 borrowed_ 0 giants_ 0 tokens_ 3755 ctokens_ 3755
> class htb 1_8000 rate 12000 ceil 100000000 burst 1599 cburst 1600 Sent
> 7426756 bytes 110871 pkt dropped 0 overlimits 0 requeues 0 rate 0 0 backlog
> 0 0 requeues 0 lended_ 109527 borrowed_ 1344 giants_ 0 tokens_ 16041656
> ctokens_ 1925
> class htb 1_1 rate 100000000 ceil 100000000 burst 1600 cburst 1600 Sent
> 429553866 bytes 2413367 pkt dropped 0 overlimits 0 requeues 0 rate 0 0
> backlog 0 0 requeues 0 lended_ 1344 borrowed_ 0 giants_ 0 tokens_ 1801
> ctokens_ 1801
> class htb 1_12 rate 360000 ceil 360000 burst 1599 cburst 1599 Sent 420869767
> bytes 2293150 pkt dropped 11 overlimits 0 requeues 0 rate 0 0 backlog 0 0
> requeues 0 lended_ 2293150 borrowed_ 0 giants_ 0 tokens_ -55066 ctokens_
> -55066
> class fq_codel 11_7 dropped 0 overlimits 0 requeues 0 backlog 0 0 requeues 0
> deficit 1416 count 0 lastcount 0 ldelay 8us class fq_codel 11_110 dropped 0
> overlimits 0 requeues 0 backlog 0 0 requeues 0 deficit 1366 count 0
> lastcount 0 ldelay 3us class fq_codel 11_15c dropped 0 overlimits 0 requeues
> 0 backlog 0 0 requeues 0 deficit 1428 count 0 lastcount 0 ldelay 2us class
> fq_codel 11_22a dropped 0 overlimits 0 requeues 0 backlog 0 0 requeues 0
> deficit 1041 count 0 lastcount 0 ldelay 1us class fq_codel 11_299 dropped 0
> overlimits 0 requeues 0 backlog 0 0 requeues 0 deficit 1109 count 0
> lastcount 0 ldelay 3us class fq_codel 11_2bb dropped 0 overlimits 0 requeues
> 0 backlog 0 0 requeues 0 deficit 1433 count 0 lastcount 0 ldelay 8us class
> fq_codel 11_2bf dropped 0 overlimits 0 requeues 0 backlog 0 0 requeues 0
> deficit 1028 count 0 lastcount 0 ldelay 3us class fq_codel 11_332 dropped 0
> overlimits 0 requeues 0 backlog 0 0 requeues 0 deficit 822 count 0 lastcount
> 0 ldelay 3us class htb 12_11 rate 72000 ceil 360000 burst 1599 cburst 1599
> Sent 367661 bytes 369 pkt dropped 0 overlimits 0 requeues 0 rate 0 0 backlog
> 0 0 requeues 0 lended_ 369 borrowed_ 0 giants_ 0 tokens_ 1029501 ctokens_
> 205893
> class htb 12_1 rate 360000 ceil 360000 burst 1599 cburst 1599 Sent 420846447
> bytes 2293119 pkt dropped 0 overlimits 0 requeues 0 rate 0 0 backlog 0 0
> requeues 0 lended_ 1608710 borrowed_ 0 giants_ 0 tokens_ -55033 ctokens_
> -55033
> class htb 12_8001 rate 54000 ceil 360000 burst 1599 cburst 1599 Sent
> 412592598 bytes 2254958 pkt dropped 11 overlimits 0 requeues 0 rate 0 0
> backlog 0 0 requeues 0 lended_ 651090 borrowed_ 1603868 giants_ 0 tokens_
> -341148 ctokens_ -55033
> class htb 12_12 rate 54000 ceil 360000 burst 1599 cburst 1599 Sent 6421745
> bytes 32094 pkt dropped 0 overlimits 0 requeues 0 rate 0 0 backlog 0 0
> requeues 0 lended_ 29566 borrowed_ 2528 giants_ 0 tokens_ 3335647 ctokens_
> 500337
> class htb 12_15 rate 54000 ceil 360000 burst 1599 cburst 1599 Sent 966190
> bytes 3666 pkt dropped 0 overlimits 0 requeues 0 rate 0 0 backlog 0 0
> requeues 0 lended_ 2687 borrowed_ 979 giants_ 0 tokens_ 2523737 ctokens_
> 483860
> class htb 12_14 rate 54000 ceil 360000 burst 1599 cburst 1599 Sent 498253
> bytes 2032 pkt dropped 0 overlimits 0 requeues 0 rate 0 0 backlog 0 0
> requeues 0 lended_ 697 borrowed_ 1335 giants_ 0 tokens_ 815213 ctokens_
> 500337
> class fq_codel 14_7e dropped 0 overlimits 0 requeues 0 backlog 0 0 requeues
> 0 deficit 1235 count 0 lastcount 0 ldelay 2us class fq_codel 15_15 dropped 0
> overlimits 0 requeues 0 backlog 0 0 requeues 0 deficit 1355 count 1
> lastcount 1 ldelay 47us class fq_codel 15_359 dropped 0 overlimits 0
> requeues 0 backlog 0 0 requeues 0 deficit 1196 count 1 lastcount 1 ldelay
> 841us class fq_codel 17_d dropped 0 overlimits 0 requeues 0 backlog 0 0
> requeues 0 deficit 1090 count 0 lastcount 0 ldelay 3us class fq_codel 17_1b1
> dropped 0 overlimits 0 requeues 0 backlog 0 0 requeues 0 deficit 1196 count
> 1 lastcount 1 ldelay 1us class fq_codel 17_274 dropped 0 overlimits 0
> requeues 0 backlog 0 0 requeues 0 deficit 719 count 0 lastcount 0 ldelay 1us
> class fq_codel 17_2a2 dropped 0 overlimits 0 requeues 0 backlog 0 0 requeues
> 0 deficit 719 count 0 lastcount 0 ldelay 2us class fq_codel 18_394 dropped 0
> overlimits 0 requeues 0 backlog 0 0 requeues 0 deficit -40 count 0 lastcount
> 0 ldelay 2us
> ——
>
> —— with patch ——
> class htb 1_11 rate 50000000 ceil 50000000 burst 1600 cburst 1600 Sent
> 1257424 bytes 9347 pkt dropped 0 overlimits 0 requeues 0 rate 0 0 backlog 0
> 0 requeues 0 lended_ 9347 borrowed_ 0 giants_ 0 tokens_ 3797 ctokens_ 3797
> class htb 1_8000 rate 12000 ceil 100000000 burst 1599 cburst 1600 Sent
> 7441572 bytes 111116 pkt dropped 0 overlimits 0 requeues 0 rate 0 0 backlog
> 0 0 requeues 0 lended_ 109772 borrowed_ 1344 giants_ 0 tokens_ 16041656
> ctokens_ 1925
> class htb 1_1 rate 100000000 ceil 100000000 burst 1600 cburst 1600 Sent
> 432551709 bytes 2432657 pkt dropped 0 overlimits 0 requeues 0 rate 0 0
> backlog 0 0 requeues 0 lended_ 1344 borrowed_ 0 giants_ 0 tokens_ 1867
> ctokens_ 1867
> class htb 1_12 rate 360000 ceil 360000 burst 1599 cburst 1599 Sent 423852713
> bytes 2312194 pkt dropped 11 overlimits 0 requeues 0 rate 0 0 backlog 0 0
> requeues 0 lended_ 2312194 borrowed_ 0 giants_ 0 tokens_ 493529 ctokens_
> 493529
> class fq_codel 11_7 dropped 0 overlimits 0 requeues 0 backlog 0 0 requeues 0
> deficit 1416 count 0 lastcount 0 ldelay 8u
> class fq_codel 11_88 dropped 0 overlimits 0 requeues 0 backlog 0 0 requeues
> 0 deficit 1433 count 0 lastcount 0 ldelay 6u
> class fq_codel 11_110 dropped 0 overlimits 0 requeues 0 backlog 0 0 requeues
> 0 deficit 1366 count 0 lastcount 0 ldelay 3u
> class fq_codel 11_15c dropped 0 overlimits 0 requeues 0 backlog 0 0 requeues
> 0 deficit 1428 count 0 lastcount 0 ldelay 2u
> class fq_codel 11_22a dropped 0 overlimits 0 requeues 0 backlog 0 0 requeues
> 0 deficit 1041 count 0 lastcount 0 ldelay 1u
> class fq_codel 11_299 dropped 0 overlimits 0 requeues 0 backlog 0 0 requeues
> 0 deficit 1109 count 0 lastcount 0 ldelay 3u
> class fq_codel 11_2bb dropped 0 overlimits 0 requeues 0 backlog 0 0 requeues
> 0 deficit 1433 count 0 lastcount 0 ldelay 8u
> class fq_codel 11_2bf dropped 0 overlimits 0 requeues 0 backlog 0 0 requeues
> 0 deficit 1028 count 0 lastcount 0 ldelay 3u
> class fq_codel 11_332 dropped 0 overlimits 0 requeues 0 backlog 0 0 requeues
> 0 deficit 822 count 0 lastcount 0 ldelay 3u
> class htb 12_11 rate 72000 ceil 360000 burst 1599 cburst 1599 Sent 367661
> bytes 369 pkt dropped 0 overlimits 0 requeues 0 rate 0 0 backlog 0 0
> requeues 0 lended_ 369 borrowed_ 0 giants_ 0 tokens_ 1029501 ctokens_ 205893
> class htb 12_1 rate 360000 ceil 360000 burst 1599 cburst 1599 Sent 423829393
> bytes 2312163 pkt dropped 0 overlimits 0 requeues 0 rate 0 0 backlog 0 0
> requeues 0 lended_ 1624314 borrowed_ 0 giants_ 0 tokens_ 493531 ctokens_
> 493531
> class htb 12_8001 rate 54000 ceil 360000 burst 1599 cburst 1599 Sent
> 415575544 bytes 2274002 pkt dropped 11 overlimits 0 requeues 0 rate 0 0
> backlog 0 0 requeues 0 lended_ 654530 borrowed_ 1619472 giants_ 0 tokens_
> -61569 ctokens_ 493531
> class htb 12_12 rate 54000 ceil 360000 burst 1599 cburst 1599 Sent 6421745
> bytes 32094 pkt dropped 0 overlimits 0 requeues 0 rate 0 0 backlog 0 0
> requeues 0 lended_ 29566 borrowed_ 2528 giants_ 0 tokens_ 3335647 ctokens_
> 500337
> class htb 12_15 rate 54000 ceil 360000 burst 1599 cburst 1599 Sent 966190
> bytes 3666 pkt dropped 0 overlimits 0 requeues 0 rate 0 0 backlog 0 0
> requeues 0 lended_ 2687 borrowed_ 979 giants_ 0 tokens_ 2523737 ctokens_
> 483860
> class htb 12_14 rate 54000 ceil 360000 burst 1599 cburst 1599 Sent 498253
> bytes 2032 pkt dropped 0 overlimits 0 requeues 0 rate 0 0 backlog 0 0
> requeues 0 lended_ 697 borrowed_ 1335 giants_ 0 tokens_ 815213 ctokens_
> 500337
> class fq_codel 14_7e dropped 0 overlimits 0 requeues 0 backlog 0 0 requeues
> 0 deficit 1235 count 0 lastcount 0 ldelay 2u
> class fq_codel 15_359 dropped 0 overlimits 0 requeues 0 backlog 0 0 requeues
> 0 deficit 1302 count 2 lastcount 1 ldelay 8u
> class fq_codel 17_d dropped 0 overlimits 0 requeues 0 backlog 0 0 requeues 0
> deficit 1090 count 0 lastcount 0 ldelay 3u
> class fq_codel 17_1b1 dropped 0 overlimits 0 requeues 0 backlog 0 0 requeues
> 0 deficit 1196 count 1 lastcount 1 ldelay 1u
> class fq_codel 17_274 dropped 0 overlimits 0 requeues 0 backlog 0 0 requeues
> 0 deficit 719 count 0 lastcount 0 ldelay 1u
> class fq_codel 17_2a2 dropped 0 overlimits 0 requeues 0 backlog 0 0 requeues
> 0 deficit 719 count 0 lastcount 0 ldelay 2u
> class fq_codel 18_394 dropped 0 overlimits 0 requeues 0 backlog 0 0 requeues
> 0 deficit 284 count 0 lastcount 0 ldelay 2us
> ——
>
>
> On Apr 21, 2015, at 10:09 AM, Tsaousis, Costa <costa at tsaousis.gr> wrote:
>
> Strange. Yes I tried both in and out.
> I can't test with a bridge though.
>
> Anyway, I'll try to test it once more too.
>
> Costa
>
>
> On Tue, Apr 21, 2015 at 10:13 AM, Phineas Gage <phineas919 at gmail.com> wrote:
>
> Hi, I tried the latest build from the head (FireQOS commit-8e7b3a1) and it
> still shows ERROR for me. Did you try both eth1-in and eth1-out? Currently
> it’s only happening on eth1-out for me. eth1 is the external interface of a
> bridge.
>
> Other than that, when I get some time I could try to debug it more, or if I
> can provide something more let me know.
>
> Phineas
>
> On Apr 20, 2015, at 8:30 PM, Tsaousis, Costa <costa at tsaousis.gr> wrote:
>
> Phineas,
>
> I run your config. I didn't get any ERROR values.
> Can you please check the latest version of FireQOS? It is probably
> already fixed.
>
> Costa
>
>
> On Sun, Apr 19, 2015 at 12:31 PM, Phineas Gage <phineas919 at gmail.com> wrote:
>
> Hi Costa,
>
> That’s interesting, I did attach both fireqos.conf and
> tc_class_show_dev_eth1.txt, but will include both as text then in case they
> were stripped out somewhere (along with output from "tc -s qdisc show dev
> eth1”). Thanks for taking a look…
>
> —— fireqos.conf ——
>
> # Real ADSL input rate: 5127kbit
> # Real ADSL output rate: 387kbit
>
> interface46 eth1 eth1-out output rate 100mbit minrate 12kbit r2q 1
>  class lan commit 50mbit ceil 50mbit prio 1
>     match4 dst $net_private
>     match4 dst $ip_broadcast
>     match4 dst $net_multicast
>     match6 dst $net6_lan
>
>  class group adsl commit 360kbit ceil 360kbit adsl remote pppoe-llc prio 0
>     match4 src $net_lan
>     match6 src $net6_lan dst $net6_global
>
>     class voip commit 72kbit pfifo prio 0
>        match srcmac $mac_voip_phone
>
>     class business commit 15% prio 1
>        match4 dst $ip_planyo
>        match4 dst $ip_lif
>        match4 dst $ip_drhleny
>        match srcmac $mac_payment_terminal
>
>     class default commit 15% prio 4
>        match srcmac $mac_service_west
>        match srcmac $mac_service_east
>        match srcmac $mac_reception
>        match srcmac $mac_office
>
>     class conferencing commit 15% pfifo prio 2
>        match proto udp              # Covers Facetime, Google Hangouts,
> Skype, etc, if users don't abuse
>        match tcp dports 19305:19309 # Google Hangouts
>        match tcp dport 5223         # Apple push notifications
>
>     class private commit 15% prio 3
>        match all
>
>  class group end
>
>  class default prio 1
>     match all
>
> interface46 eth1 eth1-in input rate 100mbit minrate 12kbit r2q 1
>  class lan commit 50mbit ceil 50mbit prio 1
>     match4 src $net_private
>     match4 src $ip_broadcast
>     match4 src $net_multicast
>     match6 src $net6_lan
>
>  class group adsl commit 4872kbit ceil 4872kbit adsl remote pppoe-llc prio
> 0
>     match4 dst $net_lan
>     match6 dst $net6_lan src $net6_global
>
>     class voip commit 72kbit pfifo prio 0
>        match dstmac $mac_voip_phone
>
>     class business commit 20% prio 1
>        match4 src $ip_planyo
>        match4 src $ip_lif
>        match4 dst $ip_drhleny
>        match dstmac $mac_payment_terminal
>
>     class default commit 25% prio 4
>        match dstmac $mac_service_west
>        match dstmac $mac_service_east
>        match dstmac $mac_reception
>        match dstmac $mac_office
>
>     class conferencing commit 20% pfifo prio 2
>        match proto udp               # Covers Facetime, Google Hangouts,
> Skype, etc, if users don't abuse
>        match tcp sports 19305:19309  # Google Hangouts
>        match tcp sport 5223          # Apple push notifications
>
>     class private commit 20% prio 3
>        match all
>
>  class group end
>
>  class default prio 1
>     match all
>
> ——
>
> —— tc_class_show_dev_eth1.txt ——
>
> class htb 1:11 parent 1:1 leaf 11: prio 1 rate 50000Kbit ceil 50000Kbit
> burst 1600b cburst 1600b
> Sent 6771 bytes 59 pkt (dropped 0, overlimits 0 requeues 0)
> rate 0bit 0pps backlog 0b 0p requeues 0
> lended: 59 borrowed: 0 giants: 0
> tokens: 3855 ctokens: 3855
>
> class htb 1:1 root rate 100000Kbit ceil 100000Kbit burst 1600b cburst 1600b
> Sent 3102742 bytes 3978 pkt (dropped 0, overlimits 0 requeues 0)
> rate 0bit 0pps backlog 0b 0p requeues 0
> lended: 0 borrowed: 0 giants: 0
> tokens: 1735 ctokens: 1735
>
> class htb 1:12 parent 1:1 leaf 12: prio 0 rate 360000bit ceil 360000bit
> burst 1599b cburst 1599b
> Sent 3087197 bytes 3786 pkt (dropped 0, overlimits 0 requeues 0)
> rate 0bit 0pps backlog 0b 0p requeues 0
> lended: 3786 borrowed: 0 giants: 0
> tokens: 481934 ctokens: 481934
>
> class htb 1:5000 parent 1:1 leaf 18: prio 1 rate 12000bit ceil 100000Kbit
> burst 1599b cburst 1600b
> Sent 8774 bytes 133 pkt (dropped 0, overlimits 0 requeues 0)
> rate 0bit 0pps backlog 0b 0p requeues 0
> lended: 133 borrowed: 0 giants: 0
> tokens: 15999989 ctokens: 1920
>
> class fq_codel 11:228 parent 11:
> (dropped 0, overlimits 0 requeues 0)
> backlog 0b 0p requeues 0
> deficit 1398 count 0 lastcount 0 ldelay 2us
> class htb 12:11 parent 12:1 leaf 13: prio 0 rate 72000bit ceil 360000bit
> burst 1599b cburst 1599b
> Sent 1007 bytes 1 pkt (dropped 0, overlimits 0 requeues 0)
> rate 0bit 0pps backlog 0b 0p requeues 0
> lended: 1 borrowed: 0 giants: 0
> tokens: 1029501 ctokens: 205893
>
> class htb 12:1 root rate 360000bit ceil 360000bit burst 1599b cburst 1599b
> Sent 3029533 bytes 3707 pkt (dropped 0, overlimits 0 requeues 0)
> rate 0bit 0pps backlog 0b 0p requeues 0
> lended: 2622 borrowed: 0 giants: 0
> tokens: 481934 ctokens: 481934
>
> class htb 12:12 parent 12:1 leaf 14: prio 1 rate 54000bit ceil 360000bit
> burst 1599b cburst 1599b
> Sent 44944 bytes 222 pkt (dropped 0, overlimits 0 requeues 0)
> rate 0bit 0pps backlog 0b 0p requeues 0
> lended: 222 borrowed: 0 giants: 0
> tokens: 3212962 ctokens: 481934
>
> class htb 12:15 parent 12:1 leaf 17: prio 3 rate 54000bit ceil 360000bit
> burst 1599b cburst 1599b
> Sent 184069 bytes 332 pkt (dropped 0, overlimits 0 requeues 0)
> rate 0bit 0pps backlog 0b 0p requeues 0
> lended: 202 borrowed: 130 giants: 0
> tokens: 3458332 ctokens: 518740
>
> class htb 12:14 parent 12:1 leaf 16: prio 2 rate 54000bit ceil 360000bit
> burst 1599b cburst 1599b
> Sent 7579 bytes 47 pkt (dropped 0, overlimits 0 requeues 0)
> rate 0bit 0pps backlog 0b 0p requeues 0
> lended: 47 borrowed: 0 giants: 0
> tokens: 3335647 ctokens: 500337
>
> class htb 12:5012 parent 12:1 leaf 15: prio 3 rate 54000bit ceil 360000bit
> burst 1599b cburst 1599b
> Sent 2791934 bytes 3105 pkt (dropped 0, overlimits 0 requeues 0)
> rate 0bit 0pps backlog 0b 0p requeues 0
> lended: 613 borrowed: 2492 giants: 0
> tokens: -1789541 ctokens: 518740
>
> class fq_codel 14:2b0 parent 14:
> (dropped 0, overlimits 0 requeues 0)
> backlog 0b 0p requeues 0
> deficit 635 count 0 lastcount 0 ldelay 13us
> class fq_codel 15:39 parent 15:
> (dropped 0, overlimits 0 requeues 0)
> backlog 0b 0p requeues 0
> deficit 1332 count 1 lastcount 1 ldelay 2us
> class fq_codel 15:2aa parent 15:
> (dropped 0, overlimits 0 requeues 0)
> backlog 0b 0p requeues 0
> deficit 1408 count 1 lastcount 1 ldelay 4us
> class fq_codel 15:34f parent 15:
> (dropped 0, overlimits 0 requeues 0)
> backlog 0b 0p requeues 0
> deficit 832 count 1 lastcount 1 ldelay 2us
> class fq_codel 17:d0 parent 17:
> (dropped 0, overlimits 0 requeues 0)
> backlog 0b 0p requeues 0
> deficit 242 count 0 lastcount 0 ldelay 2us
> class fq_codel 17:27d parent 17:
> (dropped 0, overlimits 0 requeues 0)
> backlog 0b 0p requeues 0
> deficit 719 count 0 lastcount 0 ldelay 20.0ms
> class fq_codel 17:33c parent 17:
> (dropped 18, overlimits 0 requeues 0)
> backlog 0b 0p requeues 0
> deficit 544 count 1 lastcount 1 ldelay 34.4ms
> class fq_codel 17:3f7 parent 17:
> (dropped 0, overlimits 0 requeues 0)
> backlog 0b 0p requeues 0
> deficit 507 count 0 lastcount 0 ldelay 24.9ms
> class fq_codel 18:129 parent 18:
> (dropped 0, overlimits 0 requeues 0)
> backlog 0b 0p requeues 0
> deficit 710 count 0 lastcount 0 ldelay 2us
> class fq_codel 18:242 parent 18:
> (dropped 0, overlimits 0 requeues 0)
> backlog 0b 0p requeues 0
> deficit 1440 count 0 lastcount 0 ldelay 3us
>
> ——
>
> —— tc_qdisc_show_dev_eth1.txt ——
> qdisc htb 1: root refcnt 2 r2q 1 default 5000 direct_packets_stat 70
> direct_qlen 1000
> Sent 4872043 bytes 6321 pkt (dropped 432, overlimits 9254 requeues 0)
> backlog 0b 1p requeues 0
> qdisc fq_codel 11: parent 1:11 limit 10240p flows 1024 quantum 1514 target
> 5.0ms interval 100.0ms ecn
> Sent 12069 bytes 102 pkt (dropped 0, overlimits 0 requeues 0)
> backlog 0b 0p requeues 0
> maxpacket 447 drop_overlimit 0 new_flow_count 66 ecn_mark 0
> new_flows_len 1 old_flows_len 0
> qdisc htb 12: parent 1:12 r2q 10 default 5012 direct_packets_stat 79
> direct_qlen 1000
> Sent 4821728 bytes 5900 pkt (dropped 432, overlimits 0 requeues 0)
> backlog 0b 1p requeues 0
> qdisc pfifo 13: parent 12:11 limit 1000p
> Sent 2014 bytes 2 pkt (dropped 0, overlimits 0 requeues 0)
> backlog 0b 0p requeues 0
> qdisc fq_codel 14: parent 12:12 limit 10240p flows 1024 quantum 1514 target
> 5.0ms interval 100.0ms ecn
> Sent 76320 bytes 377 pkt (dropped 0, overlimits 0 requeues 0)
> backlog 0b 0p requeues 0
> maxpacket 583 drop_overlimit 0 new_flow_count 2 ecn_mark 0
> new_flows_len 0 old_flows_len 1
> qdisc fq_codel 15: parent 12:5012 limit 10240p flows 1024 quantum 1514
> target 5.0ms interval 100.0ms ecn
> Sent 4269309 bytes 4542 pkt (dropped 398, overlimits 0 requeues 0)
> backlog 1696b 1p requeues 0
> maxpacket 1696 drop_overlimit 0 new_flow_count 1200 ecn_mark 0
> new_flows_len 0 old_flows_len 2
> qdisc pfifo 16: parent 12:14 limit 1000p
> Sent 21147 bytes 132 pkt (dropped 0, overlimits 0 requeues 0)
> backlog 0b 0p requeues 0
> qdisc fq_codel 17: parent 12:15 limit 10240p flows 1024 quantum 1514 target
> 5.0ms interval 100.0ms ecn
> Sent 405662 bytes 775 pkt (dropped 33, overlimits 0 requeues 0)
> backlog 0b 0p requeues 0
> maxpacket 1696 drop_overlimit 0 new_flow_count 81 ecn_mark 0
> new_flows_len 0 old_flows_len 1
> qdisc fq_codel 18: parent 1:5000 limit 10240p flows 1024 quantum 1514 target
> 5.0ms interval 100.0ms ecn
> Sent 16460 bytes 249 pkt (dropped 0, overlimits 0 requeues 0)
> backlog 0b 0p requeues 0
> maxpacket 256 drop_overlimit 0 new_flow_count 35 ecn_mark 0
> new_flows_len 1 old_flows_len 2
> qdisc ingress ffff: parent ffff:fff1 ----------------
> Sent 2602686 bytes 6256 pkt (dropped 0, overlimits 0 requeues 0)
> backlog 0b 0p requeues 0
>
> ——
>
>
> Phineas
>
> On Apr 19, 2015, at 11:15 AM, Tsaousis, Costa <costa at tsaousis.gr> wrote:
>
> Hi Phineas,
>
> I don't see your config file attached.
> Please attach it. I'll try to run it to figure out what is happening.
>
> Costa
>
>
> On Sun, Apr 19, 2015 at 12:05 PM, Phineas Gage <phineas919 at gmail.com> wrote:
>
> Hi,
>
> In FireQOS 2.0.2, When I run "fireqos status <dev>” (where <dev> is either
> eth1-in or eth1-out), I see the text ERROR for the first class in a class
> group. So the output looks like this:
>
> -----
> FireQOS 2.0.2
> (C) 2013-2014 Costa Tsaousis, GPL
>
> eth1-out: eth1 output => eth1, type: , overhead:
> Rate: 100000Kbit/s, min: 12Kbit/s
> Values in Kbit/s
>
> CLASS     lan    adsl ad/voip ad/busi ad/defa ad/conf ad/priv default
> CLASSID    1:11    12:1   12:11   12:12 12:5012   12:14   12:15  1:5000
> COMMIT   50000     360      72      54      54      54      54      12
>  MAX   50000     360     360     360     360     360     360  100000
>
> PRIORIT       1       0       0       1       4       2       3       1
> QDISC fq_code fq_code fq_code fq_code fq_code fq_code fq_code fq_code
>
> color code (packets):  backlog  |  dropped  |  delayed  |  requeued
> Class Utilization on eth1-out (eth1 output => eth1) - values in Kbit/s
> TOTAL     lan    adsl ad/voip ad/busi ad/defa ad/conf ad/priv default
>   19       2      15   ERROR       -       1       -      14       2
>   41       4      37   ERROR       -       -       -      37       -
> ——
>
> Looking at the fireqos script, it’s line 3022, in FireQOS 2.0.2, that
> decides to print ERROR when the value of $y is zero length, for some reason.
>
> Here are a few things I’ve noticed about it:
>
> - If the first class in my class group is “default”, it doesn’t happen.
> That’s the way I had it before, but I need to make a change now.
> - If I change the rates on my classes and groups slightly, the ERROR can go
> away, but it seems inconsistent what changes produce what result.
> - If I switch the order such that for example “business” is the first class
> in the group instead of “voip” then “business” is the one that sees the
> error.
>
> I attached my fireqos.conf, with variable definitions removed, as well as
> the output from “tc class show dev eth1”, in case it’s useful.
>
> Any ideas?
>
> Regards,
> Phineas
> _______________________________________________
> Firehol-support mailing list
> Firehol-support at lists.firehol.org
> http://lists.firehol.org/mailman/listinfo/firehol-support
>
>
>
>



More information about the Firehol-support mailing list