<?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: nifi-app.log is exceeding the maxFileSize in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/nifi-app-log-is-exceeding-the-maxFileSize/m-p/359443#M238119</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/101343"&gt;@MaarufB&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;You must have a lot of logging enabled that you expect multiple 10MB app.log files per minute.&lt;BR /&gt;Was NiFi ever rolling files?&lt;BR /&gt;Check your NiFi app.log for any Out of Memory (OOM) exceptions.&amp;nbsp; Does not matter what class is throwing the OOM(s), once the NiFi process is having memory issues, it impacts everything within that service.&amp;nbsp; If this is the case, you'll need to make changes to your dataflow(s) or increase the NiFi heap memory.&lt;BR /&gt;&lt;BR /&gt;Secondly, check to make sure you have sufficient file handles for your NiFi process user.&lt;BR /&gt;For example;&lt;BR /&gt;- If your NiFi service is owned by the "nifi" user, make sure the open file limit is set to a very large value for this user (999999).&amp;nbsp; &amp;nbsp;&lt;BR /&gt;A restart of the NiFi service before the change to file handles will be applied.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="batang,apple gothic"&gt;If you found that the provided solution(s) assisted you with your query, please take a moment to login and click&lt;/FONT&gt;&amp;nbsp;&lt;FONT face="arial black,avant garde" color="#FF0000"&gt;Accept as Solution&amp;nbsp;&lt;/FONT&gt;&lt;FONT face="batang,apple gothic" color="#000000"&gt;below each response that helped.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="batang,apple gothic" color="#000000"&gt;Matt&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Dec 2022 14:35:47 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2022-12-13T14:35:47Z</dc:date>
    <item>
      <title>nifi-app.log is exceeding the maxFileSize</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-app-log-is-exceeding-the-maxFileSize/m-p/358097#M237745</link>
      <description>&lt;P&gt;NiFi Version: 1.16.1&lt;/P&gt;&lt;P&gt;Java 11&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed the logback.xml is the setting for the nifi logs. &lt;STRONG&gt;However, the file size of the nifi-app.log is exceeding the maxFileSize set on logback.xml.&lt;/STRONG&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;This is my logback.xm file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="logback.PNG" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/36291iE667258CCFC86F3D/image-size/large?v=v2&amp;amp;px=999" role="button" title="logback.PNG" alt="logback.PNG" /&gt;&lt;/span&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 15:16:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-app-log-is-exceeding-the-maxFileSize/m-p/358097#M237745</guid>
      <dc:creator>MaarufB</dc:creator>
      <dc:date>2022-11-21T15:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: nifi-app.log is exceeding the maxFileSize</title>
      <link>https://community.cloudera.com/t5/Support-Questions/nifi-app-log-is-exceeding-the-maxFileSize/m-p/359443#M238119</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/101343"&gt;@MaarufB&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;You must have a lot of logging enabled that you expect multiple 10MB app.log files per minute.&lt;BR /&gt;Was NiFi ever rolling files?&lt;BR /&gt;Check your NiFi app.log for any Out of Memory (OOM) exceptions.&amp;nbsp; Does not matter what class is throwing the OOM(s), once the NiFi process is having memory issues, it impacts everything within that service.&amp;nbsp; If this is the case, you'll need to make changes to your dataflow(s) or increase the NiFi heap memory.&lt;BR /&gt;&lt;BR /&gt;Secondly, check to make sure you have sufficient file handles for your NiFi process user.&lt;BR /&gt;For example;&lt;BR /&gt;- If your NiFi service is owned by the "nifi" user, make sure the open file limit is set to a very large value for this user (999999).&amp;nbsp; &amp;nbsp;&lt;BR /&gt;A restart of the NiFi service before the change to file handles will be applied.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="batang,apple gothic"&gt;If you found that the provided solution(s) assisted you with your query, please take a moment to login and click&lt;/FONT&gt;&amp;nbsp;&lt;FONT face="arial black,avant garde" color="#FF0000"&gt;Accept as Solution&amp;nbsp;&lt;/FONT&gt;&lt;FONT face="batang,apple gothic" color="#000000"&gt;below each response that helped.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="batang,apple gothic" color="#000000"&gt;Matt&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 14:35:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/nifi-app-log-is-exceeding-the-maxFileSize/m-p/359443#M238119</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2022-12-13T14:35:47Z</dc:date>
    </item>
  </channel>
</rss>

