Bug #8468
closedStatus / Queues show mostly NaN
0%
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
Files
Updated by Jim Pingle over 5 years ago
- Status changed from New to Rejected
Not enough information here for a valid bug report.
Updated by Jo S almost 5 years ago
- File diag_pftop_page.png diag_pftop_page.png added
- File status_queues_page.png status_queues_page.png added
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
Updated by Konstantin Svist almost 4 years ago
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