Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
16.7 Legacy Series
»
[SOLVED] pftop (queues)
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] pftop (queues) (Read 9543 times)
Maarten
Jr. Member
Posts: 67
Karma: 6
[SOLVED] pftop (queues)
«
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
«
Last Edit: November 02, 2016, 02:01:07 pm by franco
»
Logged
franco
Administrator
Hero Member
Posts: 17605
Karma: 1603
Re: pftop (queues)
«
Reply #1 on:
November 02, 2016, 01:00:19 pm »
Hi Maarten,
From the firmware GUI packages page: reinstall the pftop package and try again.
Cheers,
Franco
Logged
Maarten
Jr. Member
Posts: 67
Karma: 6
Re: pftop (queues)
«
Reply #2 on:
November 02, 2016, 01:07:12 pm »
Hi Franco,
I've tried that from the console, tried it again from the GUI, but this does not solve the problem.
Logged
franco
Administrator
Hero Member
Posts: 17605
Karma: 1603
Re: pftop (queues)
«
Reply #3 on:
November 02, 2016, 01:11:54 pm »
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...
Logged
franco
Administrator
Hero Member
Posts: 17605
Karma: 1603
Re: pftop (queues)
«
Reply #4 on:
November 02, 2016, 02:00:23 pm »
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
Logged
Maarten
Jr. Member
Posts: 67
Karma: 6
Re: [SOLVED] pftop (queues)
«
Reply #5 on:
November 02, 2016, 02:08:04 pm »
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
Logged
franco
Administrator
Hero Member
Posts: 17605
Karma: 1603
Re: [SOLVED] pftop (queues)
«
Reply #6 on:
November 02, 2016, 02:16:25 pm »
Which view is this?
Logged
Maarten
Jr. Member
Posts: 67
Karma: 6
Re: [SOLVED] pftop (queues)
«
Reply #7 on:
November 02, 2016, 02:19:31 pm »
from the OPNsense Gui:
Firewall > Traffic Shaper > Status
Logged
franco
Administrator
Hero Member
Posts: 17605
Karma: 1603
Re: [SOLVED] pftop (queues)
«
Reply #8 on:
November 02, 2016, 07:43:03 pm »
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
Logged
Maarten
Jr. Member
Posts: 67
Karma: 6
Re: [SOLVED] pftop (queues)
«
Reply #9 on:
November 03, 2016, 08:39:12 am »
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
Logged
franco
Administrator
Hero Member
Posts: 17605
Karma: 1603
Re: [SOLVED] pftop (queues)
«
Reply #10 on:
November 03, 2016, 10:05:24 am »
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
Logged
Maarten
Jr. Member
Posts: 67
Karma: 6
Re: [SOLVED] pftop (queues)
«
Reply #11 on:
November 03, 2016, 10:06:14 am »
ok, thanks
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
16.7 Legacy Series
»
[SOLVED] pftop (queues)