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

improve Remove Releases from Repository task performance

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.11.3
    • Component/s: Scheduled Tasks
    • Labels:
    • Environment:
      Windows Server 2003, apache-tomcat-6.0.29, nexus 2.5.1-01, jdk 1.6
    • Story Points:
      3
    • Sprint:
      Sprint 37, Sprint 38

      Description

      As said in summary. When first scheduled, we had an oom exception. So we increased the max memory to 1 GiB. After that we had no more oom issues. The task ran for 147h 43m 57s and finished successfully. During this time he cleaned up 8270 releases (as derived from the log entries "Recreating Maven2 metadata in repository ID='releases' from path=...". Disk space went from 134GiB down to 75GiB. While it was successfull I think this is incredibly slow. The fix might be similar to the one from issue NEXUS-4640.

      Fix: A new task option is added to make the task perform better. Refer to comment

        Attachments

          Activity

            People

            Assignee:
            jtom Joe Tom
            Reporter:
            sbovens Sven Bovens
            Last Updated By:
            Peter Lynch Peter Lynch
            Votes:
            3 Vote for this issue
            Watchers:
            9 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title