Regression #14078
openTraffic graph shows half actual throughput when switching back to the graph
0%
Description
When switching back to the traffic graph page, the graph restarts as designed but the data shown is now half actual.
Using a new window or a different browser for the download works as expected because the original graph is still showing in the foreground of the original browser window.
To reproduce:
- open the traffic graph page
- open another tab in the same browser to start a download
- switch back to the traffic graph tab, speed is half
- (Shift+) reload the page in the browser, and it doubles to the expected speed
and
- open the traffic graph page
- open another browser or new browser window to start a download, leaving the traffic page open
- in the traffic graph window, speed remains as expected
It's more obvious if one opens a remote and local traffic graph at the same time, only the one will show the lower speed.
Reproduced on 2.6 and 23.01, with and without traffic shaping, per thread : https://forum.netgate.com/topic/178542/traffic-graph-shows-half-actual-throughput-in-some-scenarios
Related issues
Updated by Steve Y over 1 year ago
'Clear graphs when not visible' must be selected.
Updated by Danilo Zrenjanin over 1 year ago
- Status changed from New to Confirmed
I reproduced this behavior on 23.01.
With the Keep graphs updated on inactive tab as a Background updates
, the graph showed the correct values.
Updated by Danilo Zrenjanin 10 months ago
- Status changed from Confirmed to Feedback
I can not reproduce this on 23.09.1.
Google Chrome for MacOS.
The download speed in the /status_graph.php remains the same whether I check it initially or after visiting another tab and returning to the original one.
If someone else can confirm that it works fine on version 23.09.1, I will mark this ticket as resolved.
Updated by Danilo Zrenjanin 10 months ago
Related to https://redmine.pfsense.org/issues/14933
Updated by Patrik Stahlman 10 months ago
As I mentioned in the related Redmine, the issue is still present and I need to run with my local fix
Updated by Danilo Zrenjanin 9 months ago
- Status changed from Feedback to Confirmed
We are waiting for the pull request:
https://redmine.pfsense.org/issues/14933
Updated by Jim Pingle 9 months ago
- Related to Bug #14933: Traffic Graph widget displays bandwidth usage values which are half the actual usage amount added