<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Unable to write flowfile content to content repository container default due to archive file size constraints in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-write-flowfile-content-to-content-repository/m-p/347102#M235072</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm processing invoice data from accounting system where I ask for invoices of two years (one by one) and then split them to invoice level and process each invoice separately. So it's a lot of small flowfiles and the whole process takes around 25 minutes. I think this is what you are referring to as active claims, right?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Content_repository resides on the server disk which is used for other things. That is my current client's setup. if I disable archiving, then this issue will be solved, but I will not have a possibility to check the content in provenance history, correct? Thanks, Ludvik&lt;/P&gt;</description>
    <pubDate>Fri, 08 Jul 2022 07:16:47 GMT</pubDate>
    <dc:creator>Luwi</dc:creator>
    <dc:date>2022-07-08T07:16:47Z</dc:date>
    <item>
      <title>Unable to write flowfile content to content repository container default due to archive file size constraints</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-write-flowfile-content-to-content-repository/m-p/346984#M235039</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm getting this message when running process with more than 10000 flowfiles.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;unable to write flowfile content to content repository container default due to archive file size constraints&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I googled and read more about content repository and content claims, but still don't get it.&lt;/P&gt;&lt;P&gt;My archive folder is like 100MB.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please help me understand how to configure NiFi to get rid of this message?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My settings which could affect this is:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;nifi.flow.configuration.archive.max.time=30 days&lt;/P&gt;&lt;P&gt;nifi.flow.configuration.archive.max.storage=500 MB&lt;/P&gt;&lt;P&gt;nifi.flow.configuration.archive.max.count=&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;nifi.queue.backpressure.count=10000&lt;/P&gt;&lt;P&gt;nifi.queue.backpressure.size=1 GB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;nifi.content.repository.archive.max.retention.period=12 hours&lt;/P&gt;&lt;P&gt;nifi.content.repository.archive.max.usage.percentage=50%&lt;/P&gt;&lt;P&gt;nifi.content.repository.archive.enabled=true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nifi_archive_error.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/34782i7C78FCEB780D66D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="nifi_archive_error.png" alt="nifi_archive_error.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 19:09:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-write-flowfile-content-to-content-repository/m-p/346984#M235039</guid>
      <dc:creator>Luwi</dc:creator>
      <dc:date>2022-07-06T19:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to write flowfile content to content repository container default due to archive file size constraints</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-write-flowfile-content-to-content-repository/m-p/347000#M235043</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/76875"&gt;@Luwi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please have a look at this recent answer by&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;, where he explains the error you're seeing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/t5/Support-Questions/Problem-with-Merge-Content-Processor-after-switch-to-v-1-16/m-p/346096/highlight/true#M234750" target="_blank"&gt;https://community.cloudera.com/t5/Support-Questions/Problem-with-Merge-Content-Processor-after-switch-to-v-1-16/m-p/346096/highlight/true#M234750&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 23:44:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-write-flowfile-content-to-content-repository/m-p/347000#M235043</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-07-06T23:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to write flowfile content to content repository container default due to archive file size constraints</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-write-flowfile-content-to-content-repository/m-p/347014#M235044</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/11191"&gt;@araujo&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;thanks.&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;is mentioning "&lt;SPAN&gt;nifi.content.repository.archive.backpressure.percentage", but I can't see it in my nifi.properties file. (I use NiFi 1.16.3). May I add it manually?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ludvik&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 04:19:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-write-flowfile-content-to-content-repository/m-p/347014#M235044</guid>
      <dc:creator>Luwi</dc:creator>
      <dc:date>2022-07-07T04:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to write flowfile content to content repository container default due to archive file size constraints</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-write-flowfile-content-to-content-repository/m-p/347073#M235057</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/76875"&gt;@Luwi&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Yes, you made add it manually to the nifi.properties file in 1.16.3.&amp;nbsp; NiFi will not read that new property until you restart the service.&lt;BR /&gt;Did you upgrade from a previous NiFi release?&amp;nbsp; Not sure why it is missing.&lt;BR /&gt;&lt;BR /&gt;Matt&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 15:23:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-write-flowfile-content-to-content-repository/m-p/347073#M235057</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2022-07-07T15:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to write flowfile content to content repository container default due to archive file size constraints</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-write-flowfile-content-to-content-repository/m-p/347074#M235058</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/76875"&gt;@Luwi&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The log output you shared implies not much in archive (2 to 6 archived claims each time). So it appears that majority of your disk usage is being consumed by either active claims, other services or files on your system, etc...&lt;BR /&gt;- Are you processing large files or a mix of large and small files?&lt;BR /&gt;- Are you leaving FlowFiles in connection queues sitting for long periods of time?&lt;BR /&gt;- Is disk used for your content_repository used for other things besides NiFi?&lt;BR /&gt;&lt;BR /&gt;Bottom line is that even adjusting the "&lt;SPAN&gt;nifi.content.repository.archive.backpressure.percentage" to a higher percentage just pushes the issue further&amp;nbsp;down the road.&amp;nbsp; You'll hit it again if disk continues to fill with non archived content from NiFi or something external to NiFi.&amp;nbsp; NiFi best practices strongly encourage a dedicated disk for the content_repository(s), and flowfile_repository.&amp;nbsp; Provenance_repository and database_repository may share a disk since you provenance_repository usage can be controlled and database_repository remains relatively small.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If you found this response assisted with your query, please take a moment to login and click on "&lt;STRONG&gt;Accept as Solution&lt;/STRONG&gt;" below this post.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 15:35:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-write-flowfile-content-to-content-repository/m-p/347074#M235058</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2022-07-07T15:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to write flowfile content to content repository container default due to archive file size constraints</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-write-flowfile-content-to-content-repository/m-p/347101#M235071</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;thanks. I used previous release, but I did not upgraded, I downloaded it and run on a new server and moved only my processes from old to then new NiFi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ludvik&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2022 07:06:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-write-flowfile-content-to-content-repository/m-p/347101#M235071</guid>
      <dc:creator>Luwi</dc:creator>
      <dc:date>2022-07-08T07:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to write flowfile content to content repository container default due to archive file size constraints</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-write-flowfile-content-to-content-repository/m-p/347102#M235072</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm processing invoice data from accounting system where I ask for invoices of two years (one by one) and then split them to invoice level and process each invoice separately. So it's a lot of small flowfiles and the whole process takes around 25 minutes. I think this is what you are referring to as active claims, right?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Content_repository resides on the server disk which is used for other things. That is my current client's setup. if I disable archiving, then this issue will be solved, but I will not have a possibility to check the content in provenance history, correct? Thanks, Ludvik&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2022 07:16:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-write-flowfile-content-to-content-repository/m-p/347102#M235072</guid>
      <dc:creator>Luwi</dc:creator>
      <dc:date>2022-07-08T07:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to write flowfile content to content repository container default due to archive file size constraints</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-write-flowfile-content-to-content-repository/m-p/347184#M235092</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/76875"&gt;@Luwi&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;An "active content claim" would be any content claim where a FlowFile exist still referencing bytes of content in that claim.&amp;nbsp; A NiFi content claim file can contain the content for 1 too many FlowFiles.&amp;nbsp; So all it takes is one small FlowFile still queued in some connection anywhere on your NiFi canvas to prevent a content claim from being eligible to be moved to archive.&amp;nbsp; This is why the total reported content queued on yoru canvas will never match the disk usage in your content_repository.&lt;BR /&gt;&lt;BR /&gt;This article is useful in understanding this process more:&lt;BR /&gt;&lt;A href="https://community.cloudera.com/t5/Community-Articles/Understanding-how-NiFi-s-Content-Repository-Archiving-works/ta-p/249418" target="_blank"&gt;https://community.cloudera.com/t5/Community-Articles/Understanding-how-NiFi-s-Content-Repository-Archiving-works/ta-p/249418&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2022 18:47:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-write-flowfile-content-to-content-repository/m-p/347184#M235092</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2022-07-08T18:47:25Z</dc:date>
    </item>
  </channel>
</rss>

