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

npm repo. DB cache growing forever

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.11.2
    • Fix Version/s: None
    • Component/s: Proxy Repository
    • Labels:
      None

      Description

      I defined a npm repository in nexus, a proxy to npmjs.org. After a few weeks of work, the local directory under sonatype-work/nexus/storage/npm contains about 400M of package, which is normal, but one of the db files, sonatype-work/nexus/db/npm/default.cpl is 34GB long!

      This file keeps growing forever, about 500MB per day. The only way to get back the disk space is by deleting db/npm and restart nexus.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            phk Philippe Kaplan
            Last Updated By:
            Peter Lynch Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title