The Wallboard app makes OpenNMS unusable after a few days even if it is not used.

Description

Our demo server (demo.opennms.org) can stay up and running for around 3 days before start having memory issues, after upgrading to OpenNMS 14.

Checking the logs, there are OutOfMemory exceptions, there are also consecutive Full GC, and there are several auto-generated heap dump in /opt/opennms.

After analyzing all the heap dumps with Eclipse Memory Analyzer, I found that all the leak suspects are related with Vaadin applications, especially the OpsBoard feature, even if it is not configured to show data.

There are some known memory issues related with the same classes reported as leak suspects fixed on Vaadin 7.2 that could fix this problem.

Right now, demo is running a branch of 14 using Vaadin 7.2, and the OpsBoard has been configured to show some data.

If the server stays up for more than 3 days, that means, Vaadin 7.2 fixes the problem.

Acceptance / Success Criteria

None

Attachments

2
  • 22 Dec 2014, 02:31 PM
  • 22 Dec 2014, 02:31 PM

Lucidchart Diagrams

Activity

Show:

Alejandro Galue January 5, 2015 at 10:36 AM

Refactored the WallboardProvider on revision 89c0ea967ea5dfa014dc1b5b81cf2c8e5698ca4d to avoid memory issues.

Alejandro Galue December 22, 2014 at 2:31 PM

Based on the latest heap dump that I took from the demo server running 14.0.2, I found the potential source of the problem.

Attached is also the suggested change (because there is no need to keep a reference of BeanItemContainers). The solution seems to be working fine, tested with the latest develop branch with the suggested patch.

I sent an email to Christian to hear his thoughts about the change.

Benjamin Reed December 5, 2014 at 8:35 AM

This appears to be fixed with the update to Vaadin 7.2. Demo has been running fine and shows no signs of leaking memory. Marking as fixed.

Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

PagerDuty

Created December 2, 2014 at 11:33 AM
Updated January 5, 2015 at 4:51 PM
Resolved January 5, 2015 at 10:36 AM

Flag notifications