Bug #8468
closed
Status / Queues show mostly NaN
Added by Kris Lou over 6 years ago.
Updated almost 4 years ago.
Category:
Traffic Shaper (ALTQ)
Affected Architecture:
amd64
Description
While using shaping on multiple interfaces (and only priq in my situation), many of the columns only show NaN.
For me:
- Borrows = all NaN
- Suspends = all NaN
- Drops = SOME NaN, some 0, some numeric (currently less than 2k)
pftop -v queue -s1
shows "0" for all of the NaN Drops (and 391 in one instance where the Status / Queues shows 39)
This worked in 2.4.2
https://forum.pfsense.org/index.php?topic=143909.0
Files
- Status changed from New to Rejected
Not enough information here for a valid bug report.
Same problem here, some values are displayed as NaN in the status_queues page.
2 screenshots attached, the diag_pftop page and the status_queues page.
Pfsense version:
2.4.4-RELEASE-p3 (amd64)
built on Wed May 15 18:53:44 EDT 2019
FreeBSD 11.2-RELEASE-p10
Not sure why this is rejected, a bunch of users see this issue.
It's a quick patch, just edit /usr/local/www/status_queues.php and append || 0 to the following lines:
- borrows = parseFloat(queue['borrows']);
- suspends = parseFloat(queue['suspends']);
+ borrows = parseFloat(queue['borrows'] || 0);
+ suspends = parseFloat(queue['suspends'] || 0);
Posted this workaround on https://forum.netgate.com/topic/126924/queues-show-nan-values-why/12?_=1611026552220
Works well for me
Also available in: Atom
PDF