Project

General

Profile

Actions

Bug #7157

closed

Traffic graphs cause the tab to crash when run in the background

Added by Jared Dillard over 8 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Jared Dillard
Category:
Web Interface
Target version:
-
Start date:
01/23/2017
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4
Affected Architecture:

Description

When the "Keep graphs updated when on inactive tab" option is selected for traffic graphs it can cause the tab to lock up and crash after being inactive for several hours.


Files

Actions #1

Updated by Jared Dillard over 8 years ago

  • Subject changed from Traffic graphs cause the tab when run in the background to Traffic graphs cause the tab to crash when run in the background
Actions #2

Updated by Pi Ba over 8 years ago

Pretty sure they will crash in the foreground also.. Think ive found a leak in the code though.
The nv.utils.inheritOptionsD3() seems to have a ever growing array: target._d3options , see screenshots attached.
Not sure yet how to fix..

Actions #3

Updated by Pi Ba over 8 years ago

Think ive found the source of the background leak in a growing list of timer objects waiting for a 'requestAnimationFrame'.

Should hopefully be fixed by pullrequest: https://github.com/pfsense/pfsense/pull/3450

Actions #4

Updated by Renato Botelho over 8 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #5

Updated by Jim Pingle over 7 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF