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

Processors cannot write to Content Repo: Unable to write flowfile content to content repository container default due to archive file size constraints; waiting for archive cleanup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.17.0, 1.16.2
    • Core Framework
    • None

    Description

      Sometimes, we can see NiFi log the following log message over and over:

      2022-05-05 10:47:03,267 WARN [Timer-Driven Process Thread-142] o.a.n.c.repository.FileSystemRepository Unable to write to container default due to archive file size constraints; waiting for archive cleanup 

      However, we can also see that there's nothing in the archive to cleanup, based on the fact that we also continually see this log message:

      2022-05-05 10:01:02,515 INFO [Cleanup Archive for default] o.a.n.c.repository.FileSystemRepository Successfully deleted 0 files (0 bytes) from archive 

      If there are any files in the archive directory, we should see them getting cleaned up. The fact that we constantly see "Successfully deleted 0 files (0 bytes) from archive" implies there is nothing in the archive.

      But if there is nothing in the archive, then we should not be seeing any notices about "Unable to write to container default due to archive file size constraints."

      This results in processors getting blocked for indefinite periods of time.

      Attachments

        Issue Links

          Activity

            People

              markap14 Mark Payne
              markap14 Mark Payne
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m