Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-50643

Jira Plugin v2.4.2 leaks selectors resulting in Too Many Open Files

    XMLWordPrintable

Details

    Description

      This PR of the CloudBees File Leak Detector Plugin that detects leaked selectors will show output similar to:

      at java.nio.channels.spi.AbstractSelector.<init>(AbstractSelector.java:86)
      at sun.nio.ch.SelectorImpl.<init>(SelectorImpl.java:54)
      at sun.nio.ch.EPollSelectorImpl.<init>(EPollSelectorImpl.java:64)
      at sun.nio.ch.EPollSelectorProvider.openSelector(EPollSelectorProvider.java:36)
      at java.nio.channels.Selector.open(Selector.java:227)
      at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.<init>(AbstractMultiworkerIOReactor.java:144)
      at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.<init>(DefaultConnectingIOReactor.java:81)
      at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.<init>(DefaultConnectingIOReactor.java:96)
      at com.atlassian.httpclient.apache.httpcomponents.ApacheAsyncHttpClient.<init>(ApacheAsyncHttpClient.java:157)
      at com.atlassian.httpclient.apache.httpcomponents.ApacheAsyncHttpClient.<init>(ApacheAsyncHttpClient.java:123)
      at com.atlassian.httpclient.apache.httpcomponents.DefaultHttpClientFactory.doCreate(DefaultHttpClientFactory.java:68)
      at com.atlassian.httpclient.apache.httpcomponents.DefaultHttpClientFactory.create(DefaultHttpClientFactory.java:35)
      at com.atlassian.jira.rest.client.internal.async.AsynchronousHttpClientFactory.createClient(AsynchronousHttpClientFactory.java:63)
      at com.atlassian.jira.rest.client.internal.async.AsynchronousJiraRestClientFactory.create(AsynchronousJiraRestClientFactory.java:35)
      at com.atlassian.jira.rest.client.internal.async.AsynchronousJiraRestClientFactory.createWithBasicHttpAuthentication(AsynchronousJiraRestClientFactory.java:42)
      at hudson.plugins.jira.JiraSite.createSession(JiraSite.java:280)
      at hudson.plugins.jira.JiraSite.getSession(JiraSite.java:255)
      at hudson.plugins.jira.JiraSite.getProjectKeys(JiraSite.java:351)
      at hudson.plugins.jira.JiraSite.existsIssue(JiraSite.java:439)
      at hudson.plugins.jira.JiraChangeLogAnnotator.annotate(JiraChangeLogAnnotator.java:70)
      at hudson.scm.ChangeLogSet$Entry.getMsgAnnotated(ChangeLogSet.java:252)

      Attachments

        Activity

          olamy Olivier Lamy added a comment -

          do you still have issues with last versions of the plugin?

          olamy Olivier Lamy added a comment - do you still have issues with last versions of the plugin?
          olamy Olivier Lamy added a comment -

          I started a branch with some fixes here https://github.com/jenkinsci/jira-plugin/tree/JENKINS-50643_http_client_reuse 

          I will be back on it in few days.

          olamy Olivier Lamy added a comment - I started a branch with some fixes here https://github.com/jenkinsci/jira-plugin/tree/JENKINS-50643_http_client_reuse   I will be back on it in few days.

          Any further updates on this?

          mgarrett Matthew Garrett added a comment - Any further updates on this?
          olamy Olivier Lamy added a comment -

          Jira plugin 3.0.6 released

          olamy Olivier Lamy added a comment - Jira plugin 3.0.6 released

          People

            olamy Olivier Lamy
            jtsweet James Sweet
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: