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

Nexus tasks log files can cause file handles leak

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.34.0
    • Fix Version/s: None
    • Component/s: Logging

      Description

      After each run of any Nexus task newly created log files are kept open. This can cause file handles leak.

      Steps to reproduce:

      1. Run any task.
      2. Run next command in terminal to see amount of opened files:
        lsof +D /path/to/sonatype-work/nexus3/log/tasks | wc -l
        
      3. Each time amount of opened files incremented.

       

      Actual result:

      Amount of opened files increases with each task run.

       

      Expected result:

      Amount of opened files doesn't depend on task runs.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:

                  tigCommentSecurity.panel-title