Browser crashes when browser notifications are enabled and OpenNMS gets unreachable

Description

When you have browser notifications enabled and the OpenNMS instance is unreachable or stopped, the CPU usage goes to 100% and the browser can't be used anymore. You have to wait until OpenNMS is restarted and then restart the browser instance.

Acceptance / Success Criteria

None

Attachments

1

Lucidchart Diagrams

Activity

Show:

Jesse White February 22, 2019 at 6:41 PM

Ronny Trommer February 22, 2019 at 6:12 PM
Edited

Fix solved the problem, +1 for the PR from me.

fooker February 21, 2019 at 1:09 PM

Still can't reproduce with this extreme effect. But I can see some leaking websocket conenctions on chromium.
: Can you give it a try with the branch `jira/NMS-10567`?

Ronny Trommer February 20, 2019 at 8:19 PM

Here is a link to a video how it looks like: https://youtu.be/D-sAD7Iux_c

Ronny Trommer February 20, 2019 at 7:24 PM
Edited

Tried Chrome today running on OSX 10.14.3 with the same issue. Here is what I did:

1. Start Horizon
2. Start Chrome and Login, I've clicked Yes on Browser notification popup. I use just this one tab, I had notifications in my config globally turned on
3. Leave the start page open
4. Stop Horizon
5. Leave everything as it is and just wait 2-5 minutes you will see Chrome going over 100%, Chrome can't be used anymore and needs to be killed hardly

This is how Chrome looks like when it is not responding anymore:

Fixed

Details

Assignee

Reporter

Sprint

Fix versions

Affects versions

Priority

PagerDuty

Created February 15, 2019 at 2:17 PM
Updated February 22, 2019 at 6:41 PM
Resolved February 22, 2019 at 6:41 PM