Created attachment 1215740 [details] Paused-dc-has-vendor-js-problem Description of problem: On one DC page, pause the DC. Each time when coming to the paused DC page, the browser runs slowly, affecting any browser operations. If do some click, the browser shows (see att): Warning: Unresponsive script A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the debugger, or let the script continue. Script: https://<master>:8443/console/scripts/vendor.js:5041 Version-Release number of selected component (if applicable): openshift 3.4.0.17 How reproducible: Always Steps to Reproduce: 1. Create DC $ oc new-app -f https://raw.githubusercontent.com/openshift/origin/master/examples/sample-app/application-template-stibuild.json On "database" DC page, pause the DC 2. Try going to that DC page, do some click, e.g. click "Show annotations", scroll down/up mouse. 3. Actual results: 2. Browser runs slowly and shows up the "Warning: Unresponsive script" modal. Expected results: 2. Browser should run smoothly. Additional info:
I can't reproduce, but I suspect it might be the same as https://github.com/openshift/origin/issues/11656 mkargaki -- the problem would cause many updates to the DC, which would trigger watch updates in the web console? If so, it would explain why the web console gets slow. Each watch update will cause an AngularJS digest loop, reevaluating the expressions in view.
Assigning to Michail. If this isn't fixed by https://github.com/openshift/origin/pull/11658 we can send it back to the web console.
(In reply to Samuel Padgett from comment #1) > I can't reproduce FYI, the "Warning: Unresponsive script" window can be easily reproduced using Firefox (I used v49.0.2). I also tried Chrome. Though I didn't see that warning window with Chrome, I could see Chrome speed became slow too (and could hear the notebook CPU noise shoots up)
(In reply to Xingxing Xia from comment #3) > (In reply to Samuel Padgett from comment #1) > > I can't reproduce > > FYI, the "Warning: Unresponsive script" window can be easily reproduced > using Firefox (I used v49.0.2). I also tried Chrome. Though I didn't see > that warning window with Chrome, I could see Chrome speed became slow too > (and could hear the notebook CPU noise shoots up) Can you try to reproduce with https://github.com/openshift/origin/pull/11658? If it doesn't help, we will move this back to console component.
Checked with Origin env (openshift v1.4.0-alpha.0+90d8c62-1000 [devenv-centos7_5294] which includes https://github.com/openshift/origin/pull/11658) Firefox and Chrome don't become slow and don't have the warning window of vendor.js. Latest puddle v3.4.0.18 does not include that PR yet. Waiting for next puddle for verification.
(In reply to Xingxing Xia from comment #5) > Checked with Origin env (openshift v1.4.0-alpha.0+90d8c62-1000 > [devenv-centos7_5294] which includes > https://github.com/openshift/origin/pull/11658) > Firefox and Chrome don't become slow and don't have the warning window of > vendor.js. > Latest puddle v3.4.0.18 does not include that PR yet. Waiting for next > puddle for verification. Thanks! Moving this ON_QA so you can set it to verified when latest puddle comes out.
Checked against v3.4.0.19 with PR 11658 merged, After Pausing Deployment, the error didn't came any more. Browser works normally Move to VERIFIED
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:0066