Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-27318

Maven - Publish Maven Indexer files task leaks inputstream

    XMLWordPrintable

    Details

    • Story Points:
      3
    • Sprint:
      NXRM MadMax Sprint 17
    • Notability:
      2

      Description

      NXRM 3 depends on

      <dependency>
        <groupId>org.apache.maven.indexer</groupId>
        <artifactId>indexer-reader</artifactId>
        <version>5.1.2-816025a</version>
        <type>bundle</type>
      </dependency>
      

      In instances that are executing the index publish task on a regular basis, eventually NXRM process may report errors such as

      "java.io.IOException: Too many open files"

      on *.bytes in the blobstores of the repositories where the task is configured to run.

      A sure sign of this is consistently growing lsof output showing linearly growing numbers of open files per execution of the index publish task.

      Restarting NXRM process is the only remedy to clear these leaks if the tasks must be run. Otherwise stop using the task. Do you really need it?

      Expected

      Protect against the file leak.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ybulatnikov Eugene Bulatnikov
              Reporter:
              plynch Peter Lynch
              Last Updated By:
              Peter Lynch Peter Lynch
              Team:
              NXRM - Mad Max
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title