Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-2934

Archiver still not respecting nifi.content.repository.archive.max.usage.percentage

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.7.0, 0.7.1
    • 0.8.0, 0.7.3
    • None
    • None

    Description

      This seems related to NIFI-1726: we've noticed that the content repository takes up increasingly more space over time, even beyond the configured max usage percentage (see images). After restarting the NiFi cluster we get an immediate drop in disk usage with lots of log statements indicating that expired content is being removed.

      Not sure if this is related, but we also often get "Too many open files" during this expiration process after NiFi restart, despite lsof indicating a count far lower than our configured nofile and fs-max.

      In the environment indicated by the pictures, nifi.content.repository.archive.max.usage.percentage = 50%. Note that the flow itself only has ~240GB queued across the entire cluster, but each content_repository directory has over 360GB on each worker. Also note the disk usage graph increasing above 50% on each worker, until we finally restart and then the usage drops below 50%.

      Attachments

        1. content_repository usage.png
          12 kB
          Joe Gresock
        2. Disk-Usage-Increasing.png
          32 kB
          Joe Gresock
        3. lsof.txt
          927 kB
          Joe Gresock
        4. NiFi-80-percent-disk.png
          30 kB
          Joe Gresock
        5. Queued.png
          7 kB
          Joe Gresock
        6. System-Diagnostics.png
          16 kB
          Joe Gresock

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            bbende Bryan Bende
            jgresock Joe Gresock
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment