-
Bug
-
Resolution: Unresolved
-
Minor
-
None
When using the PagerDuty plugin within a pipeline with granularity set to 1 minute. We notice that the plugin will create threads in waiting state to the point of thread exhaustion.
The majority of threads created had the following stacktrace
Thread-308 - priority:5 - threadId:0x00007fdd8412b000 - nativeId:0x9f6 - state:TIMED_WAITING stackTrace: java.lang.Thread.State: TIMED_WAITING (on object monitor) at java.lang.Object.wait(Native Method) at com.mashape.unirest.http.utils.SyncIdleConnectionMonitorThread.run(SyncIdleConnectionMonitorThread.java:22) - locked <0x00000003df659280> (a com.mashape.unirest.http.utils.SyncIdleConnectionMonitorThread)
This maybe related to https://github.com/Kong/unirest-java/issues/148
Thread counts with without plugin enabled