Queues RRD no plot data / Queues multiple times listed in on status page
-
Then i think you need to remove the rrd queue database:
rm /var/db/rrd/queue.rrd -
That doesn't help neither. I've done this already multiple times.
I erased the files wan-queues.rrd, wan-queuesdrop.rrd and had them recreated.
The problem remains the same all the time. As from the log output, no error is reported while the update script regenerates them.
-
Do you see any traffic from Status->Queues passing on queues?!
-
Absolutely. See my first two screenshots on the first posting.
For some reason the queues appear on the status page up to 3 times the same (as user firestar is also seeing it).
I assume there must be some kind of error here, as the RRD plot might simply take the null values of a such 'multiple listed' queue, for which only one shows values, whereas the other bars remain on 0.
-
Then you have a corrupted config mostly.
Check it by getting your config.xml and verify it is not corrupted.
-
I have just checked the config.xml and it looks fine to me (queues are correctly listed once there, as seen in traffic shaper web gui).
Have no clue why they show multiple times on status page. Are queues / rrd config exported to some other config files, so I could check them as well?
-
The rrd graphs for queues in 1.2 depend on the names of the queues.
It is fixed in upcoming versions.What do you mean for 'upcoming versions': 1.3 or final 1.2?
Has the final 1.2 version this fix? -
It is not an issue on pfSense.
It is just your issue. For upcoming i say that the rrd building does not depend on names that's all.Please post an output of pfctl -vsq a screen shot from Status->queue and an output from running /var/db/rrd/update.sh or updatedb.sh
Thx.
-
Output of pfctl -vsq:
queue root_vr1 bandwidth 250Kb priority 0 {qwanRoot} [ pkts: 0 bytes: 0 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 ] queue qwanRoot bandwidth 250Kb priority 0 {qwandef, qwanacks, qVOIPUp, qPenaltyUp, qP2PUp, qOthersUpH, qOthersUpL} [ pkts: 0 bytes: 0 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 ] queue qwandef bandwidth 2.50Kb qlimit 500 hfsc( default realtime 2.50Kb ) [ pkts: 13640 bytes: 6969697 dropped pkts: 0 bytes: 0 ] [ qlength: 0/500 ] queue qwanacks bandwidth 62.50Kb priority 7 hfsc( realtime 25Kb ) [ pkts: 375009 bytes: 24062222 dropped pkts: 409 bytes: 25802 ] [ qlength: 0/ 50 ] queue qVOIPUp bandwidth 62.50Kb priority 6 hfsc( realtime 64Kb ) [ pkts: 4648 bytes: 2711671 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 ] queue qPenaltyUp bandwidth 2.50Kb priority 2 qlimit 500 hfsc( red ecn upperlimit 100Kb ) [ pkts: 1691 bytes: 886699 dropped pkts: 0 bytes: 0 ] [ qlength: 0/500 ] queue qP2PUp bandwidth 15Kb hfsc( red ecn realtime 1Kb upperlimit 130Kb ) [ pkts: 911473 bytes: 264851465 dropped pkts: 7283 bytes: 2233843 ] [ qlength: 0/ 50 ] queue qOthersUpH bandwidth 62.50Kb priority 4 hfsc( red ecn realtime 1Kb ) [ pkts: 0 bytes: 0 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 ] queue qOthersUpL bandwidth 2.50Kb priority 2 qlimit 500 hfsc( red ecn realtime 1Kb ) [ pkts: 0 bytes: 0 dropped pkts: 0 bytes: 0 ] [ qlength: 0/500 ] queue root_vr0 bandwidth 1.70Mb priority 0 {qlanRoot} [ pkts: 0 bytes: 0 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 ] queue qlanRoot bandwidth 1.70Mb priority 0 {qlandef, qlanacks, qVOIPDown, qPenaltyDown, qP2PDown, qOthersDownH, qOthersDownL} [ pkts: 0 bytes: 0 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 ] queue qlandef bandwidth 17Kb qlimit 500 hfsc( default realtime 17Kb ) [ pkts: 40642 bytes: 30806889 dropped pkts: 0 bytes: 0 ] [ qlength: 0/500 ] queue qlanacks bandwidth 425Kb priority 7 hfsc( realtime 170Kb ) [ pkts: 811068 bytes: 45836177 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 ] queue qVOIPDown bandwidth 425Kb priority 6 hfsc( realtime 64Kb ) [ pkts: 250586 bytes: 330159182 dropped pkts: 115 bytes: 143466 ] [ qlength: 0/ 50 ] queue qPenaltyDown bandwidth 17Kb priority 2 qlimit 500 hfsc( red ecn upperlimit 640Kb ) [ pkts: 0 bytes: 0 dropped pkts: 0 bytes: 0 ] [ qlength: 0/500 ] queue qP2PDown bandwidth 17Kb qlimit 500 hfsc( red ecn realtime 1Kb upperlimit 800Kb ) [ pkts: 343647 bytes: 239599299 dropped pkts: 1273 bytes: 774445 ] [ qlength: 0/500 ] queue qOthersDownH bandwidth 425Kb priority 4 hfsc( red ecn realtime 1Kb ) [ pkts: 0 bytes: 0 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 ] queue qOthersDownL bandwidth 17Kb priority 2 qlimit 500 hfsc( red ecn realtime 1Kb ) [ pkts: 0 bytes: 0 dropped pkts: 0 bytes: 0 ] [ qlength: 0/500 ] queue root_ath0 bandwidth 1.70Mb priority 0 {qlanRoot} [ pkts: 0 bytes: 0 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 ] queue qlanRoot bandwidth 1.70Mb priority 0 {qlandef, qlanacks, qVOIPDown, qPenaltyDown, qP2PDown, qOthersDownH, qOthersDownL} [ pkts: 0 bytes: 0 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 ] queue qlandef bandwidth 17Kb qlimit 500 hfsc( default realtime 17Kb ) [ pkts: 13429 bytes: 3232640 dropped pkts: 0 bytes: 0 ] [ qlength: 0/500 ] queue qlanacks bandwidth 425Kb priority 7 hfsc( realtime 170Kb ) [ pkts: 1691 bytes: 93558 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 ] queue qVOIPDown bandwidth 425Kb priority 6 hfsc( realtime 64Kb ) [ pkts: 0 bytes: 0 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 ] queue qPenaltyDown bandwidth 17Kb priority 2 qlimit 500 hfsc( red ecn upperlimit 640Kb ) [ pkts: 3388 bytes: 3548265 dropped pkts: 0 bytes: 0 ] [ qlength: 0/500 ] queue qP2PDown bandwidth 17Kb qlimit 500 hfsc( red ecn realtime 1Kb upperlimit 800Kb ) [ pkts: 15 bytes: 1676 dropped pkts: 0 bytes: 0 ] [ qlength: 0/500 ] queue qOthersDownH bandwidth 425Kb priority 4 hfsc( red ecn realtime 1Kb ) [ pkts: 0 bytes: 0 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 ] queue qOthersDownL bandwidth 17Kb priority 2 qlimit 500 hfsc( red ecn realtime 1Kb ) [ pkts: 0 bytes: 0 dropped pkts: 0 bytes: 0 ] [ qlength: 0/500 ]
Screen shot from Status->queue: see attachment
Output from running /var/db/rrd/update.sh or updatedb.sh says Command not found
-
Can you please tell me how did you manage to do from the wizard or shaper interface in 1.2 create shaper on 3 interfaces?!
the command is /var/db/rrd/updaterrd.sh
-
@ermal:
Can you please tell me how did you manage to do from the wizard or shaper interface in 1.2 create shaper on 3 interfaces?!
I used the Traffic Shaper Wizard. I didn't create rules or queues by hand, only edited some parameters in them. I don't understand what is the problem. Be clear.
the command is /var/db/rrd/updaterrd.sh
Output is:
/var/db/rrd/updaterrd.sh /var/db/rrd/updaterrd.sh: Permission denied.
I need to chmod +x it, then:
/var/db/rrd/updaterrd.sh ERROR: tmplt contains more DS definitions than RRD ERROR: tmplt contains more DS definitions than RRD
…the script doesn't return to the shell. I have to press CTRL+C to logout from SSH.
-
I do not know what you have done, but it does not seem to me as a config created from a 1.2 shaper wizard.
So you are on your own.
-
Download your config.xml from diagnostics>backup/restore. Strip the trafficshaper section from it and replace it by a virgin part of the default config.xml. Reupload the modified config.xml and restart from scratch.
-
Download your config.xml from diagnostics>backup/restore. Strip the trafficshaper section from it and replace it by a virgin part of the default config.xml. Reupload the modified config.xml and restart from scratch.
Just tried to do it, but RRD's queue graphs are still empty, whilst in queue status there are multiple items.
Don't understand why this happens.
If there aren't any files to edit/remove, I will update to final 1.2. It is an embedded install and I need to reflash it completely and reupload config with no shaper section in it.