OPNsense Forum
Archive => 16.7 Legacy Series => Topic started by: Maarten on November 02, 2016, 12:56:39 pm
-
Hi,
When I use pftop on the console and go to the queue view I get an error "Error Reading Queues (DIOCGETALTQS): Operation not supported by device". Is there a way to fix this?
Best regards,
Maarten
-
Hi Maarten,
From the firmware GUI packages page: reinstall the pftop package and try again.
Cheers,
Franco
-
Hi Franco,
I've tried that from the console, tried it again from the GUI, but this does not solve the problem.
-
Ok, mhh, so ALTQ is disabled for OPNsense and FreeBSD GENERIC builds, the error is natural, but I'm not sure if it should error out like that. I will take a closer look...
-
Found it, queues will no longer show up in pftop:
https://github.com/opnsense/ports/commit/bc90a5c9d
The impact of the fix is really small, so I've queued it up for 16.7.8.
Thanks,
Franco
-
Hi Franco,
Ok, thanks. Do you know if the queues view shows queue description? The problem I have now is that the traffic shaper status (GUI) does not show the queue description, only an internal reference name like "q10001".
Like this it is hard to tell which queue I'm looking at.
Queues:
q10004 50 sl. 0 flows (1 buckets) sched 10004 weight 50 lmax 0 pri 0 droptail
q10005 50 sl. 0 flows (1 buckets) sched 10003 weight 100 lmax 0 pri 0 droptail
q10002 50 sl. 0 flows (1 buckets) sched 10004 weight 80 lmax 0 pri 0 droptail
q10003 50 sl. 0 flows (1 buckets) sched 10004 weight 20 lmax 0 pri 0 droptail
q10001 50 sl. 0 flows (1 buckets) sched 10004 weight 10 lmax 0 pri 0 droptail
-
Which view is this?
-
from the OPNsense Gui:
Firewall > Traffic Shaper > Status
-
Hi Maarten,
I've looked at the man pages for the source command and there is not much leeway to improve readability short of parsing the output and representing it in a clean way along with descriptions/comments.
The "ipfw show"command gives a bit more insight in the actual uses, but there are no variable names so it's still hard to read.
Ideally, that would be a feature request, though with a lower priority.
Cheers,
Franco
-
Hi Franco,
Ok, Thanks. I know the pftop -v queue command in fpsense used to give the correct queue names, do you think this will be the same for opnsense when the fix is applied?
Best regards,
Maarten
-
Hi Maarten,
The pftop queue output is not applicable to OPNsense as we do not use Queues (ALTQ) from pf, only the queues from ipfw (in pfSense "limiters") to achieve the same.
Cheers,
Franco
-
ok, thanks