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

Deleting of components exceptionally slow in maven snapshot repo

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.38.1
    • Fix Version/s: None
    • Component/s: Cleanup
    • Labels:

      Description

      Deletion of a single component takes about 15s. For reference a single publish of our modules produces about 600 components, and this can happen several times a day.

      Deleting an individual asset is very fast, and deleting a 'folder' also seems to be very fast.

      The components themselves aren't large, a couple mb.

      Normally deletion was done via a cleanup policy, I also tried scripting it using the deleteComponent method on org.sonatype.nexus.repository.maintenance.MaintenanceService and it is equally slow.

      This is particularly problematic as the cleanup policies we have effectively hang while trying to clean up this snapshot repo. Which prevents the other repos getting cleaned up and hence put as at risk of running out of disk space.

      We have followed the sizing as per https://help.sonatype.com/repomanager3/product-information/system-requirements#SystemRequirements-ExampleMaximumMemoryConfigurations the 32GB case. Other than this slow deletion we are very happy with the performance of nexus, so it seems clear that this is a bug of some kind.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              Milpool JasonKolovsky
              Last Updated By:
              JasonKolovsky JasonKolovsky
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Date of First Response:

                  tigCommentSecurity.panel-title