-
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
[JENKINS-53214] PagerDuty plugin thread leak
Description | Original: 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. |
New:
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. |
Attachment | New: ThreadCreationRate.png [ 43922 ] |
Description |
Original:
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. |
New:
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 {code:java} 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) {code} This maybe related to [https://github.com/Kong/unirest-java/issues/148] Thread counts with without plugin enabled !ThreadCreationRate.png! |
Attachment | New: Screenshot 2019-04-07 at 10.02.57.png [ 46650 ] |