[CONTROLLER-2028] Thousands of guava Finalizer threads in waiting Created: 24/Jan/22 Updated: 04/Feb/22 Resolved: 03/Feb/22 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | None |
| Affects Version/s: | 4.0.7 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Medium |
| Reporter: | Martin Sunal | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Description |
|
Distribution: onap-karaf-0.15.1 Situation: Mounting of 10 000 netconf-testtool devices (sending of PUT mount requests one after the other) is causing 10 000 threads in "waiting". Thread dump (jstack <pid>) was captured during mounting 10k devices before-mount-dump10k.txt - thread dump after ODL starts, before sending PUT requests
Snippet of a thread in waiting: "com.google.common.base.internal.Finalizer" #4549 daemon prio=5 os_prio=0 cpu=0.09ms elapsed=76.30s tid=0x00007f4e8c1f9800 nid=0x7a78 in Object.wait() [0x00007f4d50f50000]"com.google.common.base.internal.Finalizer" #4549 daemon prio=5 os_prio=0 cpu=0.09ms elapsed=76.30s tid=0x00007f4e8c1f9800 nid=0x7a78 in Object.wait() [0x00007f4d50f50000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(java.base@11.0.12/Native Method) - waiting on <no object reference available> at java.lang.ref.ReferenceQueue.remove(java.base@11.0.12/ReferenceQueue.java:155) - waiting to re-lock in wait() <0x00000007272f7b60> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(java.base@11.0.12/ReferenceQueue.java:176) at com.google.common.base.internal.Finalizer.run(Finalizer.java:145) at java.lang.Thread.run(java.base@11.0.12/Thread.java:829) I found only this reference which uses Finalizer internally: based on:
|
| Comments |
| Comment by Robert Varga [ 03/Feb/22 ] |
|
I cannot reproduce the problem with the information provided. |
| Comment by Martin Sunal [ 04/Feb/22 ] |
|
I tried it on different system and I cannot reproduce it there. In case I figure out conditions when it can be reproduced I will open this issue again. |