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

Adding helm charts leaves tmp files behind in tmp dir of blobstore


    • Bug
    • Resolution: Done
    • Major
    • 3.41.0
    • 3.30.0
    • Blobstore, helm
    • official docker image
    • 3
    • NXRM Immortals Sprint 35, NXRM Immortals Sprint 36
    • support-escalated
    • non-concept


      We noticed that the blobstore directory of our helm chart repos is growing and growing. Deleting and compacting all helm charts did not really reduce the size. Investigation revealed that the ./tmp directory in the blob store directory of the helm chart blob is growing and growing. Files added there seem never be removed. Since we build a lot of helm charts every day, within a few weeks the directory grows to several gigabytes.

      How to reproduce?

      Start a fresh copy of Nexus 3.30.0 (e.g. from docker). Add a blob store and repository for self hosted helm charts. Add some random helm chart via the upload menu. 

      Expected result

      The  blobs/helm/content/tmp dir should not grow

      Actual result

      Every time a helm chart gets added, some files are created in the tmp directory and nevery cleaned up. Not when compacting the repo, deleting the helm chart or restarting Nexus.


        1. files in tmp dir.png
          100 kB
          Enrico Welder
        2. huge tmp dir in production.png
          129 kB
          Enrico Welder
        3. image-2022-06-21-14-45-11-964.png
          122 kB
          Andres Ortiz
        4. image-2022-06-21-14-48-23-991.png
          236 kB
          Andres Ortiz
        5. image-2022-06-21-14-53-10-646.png
          159 kB
          Andres Ortiz
        6. image-2022-06-21-14-53-39-967.png
          231 kB
          Andres Ortiz

        Issue Links



              aortiz Andres Ortiz
              devopskanjer Enrico Welder
              Peter Lynch Peter Lynch
              NXRM - Optimus
              Maksym Kalachov [X] Maksym Kalachov [X] (Inactive)
              1 Vote for this issue
              7 Start watching this issue