Constant Thread Locking on Enlinkd

Description

Command running is as follows:
/usr/java/latest/bin/java -Djava.endorsed.dirs=/opt/opennms/lib/endorsed -Dopennms.home=/opt/opennms -Dcom.sun.management.jmxremote.port=18980 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Xmx10240m -XX:+HeapDumpOnOutOfMemoryError -d64 -DisThreadContextMapInheritable=true -XX:MaxMetaspaceSize=256m -Djava.io.tmpdir=/opt/opennms/data/tmp -jar /opt/opennms/lib/opennms_bootstrap.jar start

enhanced linkd is configured for 750 threads. As shown above the Heap is set to 10GB to allow for the added threads. While viewing through Jconsole threads are constantly being blocked (Attached Screenshot)

Environment

Production

Acceptance / Success Criteria

None

Attachments

5
  • 05 Jan 2016, 10:27 AM
  • 05 Jan 2016, 10:01 AM
  • 05 Jan 2016, 09:40 AM
  • 08 Dec 2015, 12:55 PM
  • 08 Dec 2015, 12:49 PM

Lucidchart Diagrams

Activity

Antonio Russo January 6, 2016 at 3:14 AM

I'm quite sure this is a side effect of the calculation made for getting topology.
This has been worked and resolved in https://opennms.atlassian.net/browse/NMS-7918#icft=NMS-7918.

Antonio Russo January 6, 2016 at 3:13 AM

Antonio Russo January 5, 2016 at 2:18 PM

While I'm going to work a little bit more on the https://opennms.atlassian.net/browse/NMS-7918#icft=NMS-7918, this will be "moved" to that general performance issue. I have to review all the "sync" and "volatile" there.

Antonio Russo January 5, 2016 at 2:16 PM

It seems to me a little bit strange that the reconcile methods are synchronized....in any case I'm changing a lot of reconcile bridge for fixing perfomance issues...see https://opennms.atlassian.net/browse/NMS-7918#icft=NMS-7918

shawn marks January 5, 2016 at 10:34 AM

Yes i pasted backwards. You are correct.

Duplicate

Details

Assignee

Reporter

Affects versions

Priority

PagerDuty

Created December 8, 2015 at 12:49 PM
Updated April 13, 2016 at 1:39 AM
Resolved January 6, 2016 at 3:13 AM

Flag notifications