<?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: Heavy CPU usage by NiFi Java process in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Heavy-CPU-usage-by-NiFi-Java-process/m-p/125025#M26774</link>
    <description>&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;Have you flows running with NiFi? If processors were running when stopping NiFi, they will be running when NiFi starts.&lt;/P&gt;&lt;P&gt;If yes, could you tell us what processors are running? Also, could you have a look into the logs (nifi-app.log) to copy/paste here anything that could be relevant?&lt;/P&gt;&lt;P&gt;Regarding repositorie: the Content Repository holds the content for all the FlowFiles in the system, and the FlowFile repository keeps track of the attributes and current state of each FlowFile in the system. (I'd recommend having a look here: &lt;A href="https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html)" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html)&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 01 May 2016 16:59:56 GMT</pubDate>
    <dc:creator>pvillard</dc:creator>
    <dc:date>2016-05-01T16:59:56Z</dc:date>
    <item>
      <title>Heavy CPU usage by NiFi Java process</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Heavy-CPU-usage-by-NiFi-Java-process/m-p/125024#M26773</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have a simple NiFi Dataflow on my local Windows machine, but NiFi's Java process utilization on my machine is spiking high; I was not sure what's causing the CPU to spike, so I closed the NiFi instance (aborted the running run-nifi.bat batch file and killed the Java Process in Task Manager) and restarted NiFi, and found no change, CPU still spiking; this spiking is without Starting any of the NiFi Processors; also, uncommented these 3 properties in bootstrap.conf, but still no help;&lt;/P&gt;&lt;P&gt;java.arg.7=-XX:ReservedCodeCacheSize=256m &lt;/P&gt;&lt;P&gt;java.arg.8=-XX:CodeCacheFlushingMinimumFreeSpace=10m &lt;/P&gt;&lt;P&gt;java.arg.9=-XX:+UseCodeCacheFlushing&lt;/P&gt;&lt;P&gt; I then started to check system diagnostics, which showed that both "FlowFile repository storage usage" and "Content repository storage usage" are at 86% (271 GB of 315 GB); I don't know what those numbers mean, but I'm puzzled; I don't even have that much free space (271 GB) on my machine, what do these numbers represent; and how do I flush these and get a clean start, thinking that doing so would help the CPU spiking issue.&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:16:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Heavy-CPU-usage-by-NiFi-Java-process/m-p/125024#M26773</guid>
      <dc:creator>Raj_B</dc:creator>
      <dc:date>2022-09-16T10:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Heavy CPU usage by NiFi Java process</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Heavy-CPU-usage-by-NiFi-Java-process/m-p/125025#M26774</link>
      <description>&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;Have you flows running with NiFi? If processors were running when stopping NiFi, they will be running when NiFi starts.&lt;/P&gt;&lt;P&gt;If yes, could you tell us what processors are running? Also, could you have a look into the logs (nifi-app.log) to copy/paste here anything that could be relevant?&lt;/P&gt;&lt;P&gt;Regarding repositorie: the Content Repository holds the content for all the FlowFiles in the system, and the FlowFile repository keeps track of the attributes and current state of each FlowFile in the system. (I'd recommend having a look here: &lt;A href="https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html)" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 01 May 2016 16:59:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Heavy-CPU-usage-by-NiFi-Java-process/m-p/125025#M26774</guid>
      <dc:creator>pvillard</dc:creator>
      <dc:date>2016-05-01T16:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Heavy CPU usage by NiFi Java process</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Heavy-CPU-usage-by-NiFi-Java-process/m-p/125026#M26775</link>
      <description>&lt;P&gt;is there anything in the logs?&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2016 03:17:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Heavy-CPU-usage-by-NiFi-Java-process/m-p/125026#M26775</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2016-05-02T03:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Heavy CPU usage by NiFi Java process</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Heavy-CPU-usage-by-NiFi-Java-process/m-p/125027#M26776</link>
      <description>&lt;P&gt;When I experienced this issue, all NiFi Processors are stopped; the only thing was there was one connection that was queued up; trying to empty the queue was not working (a progress bar would show up, but it would just stay at 0% and not progress)&lt;/P&gt;&lt;P&gt;Checked the nifi-app.log file; "java.lang.OutOfMemoryError: GC overhead limit exceeded" is in the log quite a lot. &lt;/P&gt;&lt;P&gt;Since I'm running NiFi on my local laptop, I unzipped/installed NiFi again in any another folder and exported/imported the dataflow as a template from the old folder to the new folder; that seems to have resolved the issue I was facing.&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2016 07:46:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Heavy-CPU-usage-by-NiFi-Java-process/m-p/125027#M26776</guid>
      <dc:creator>Raj_B</dc:creator>
      <dc:date>2016-05-02T07:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Heavy CPU usage by NiFi Java process</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Heavy-CPU-usage-by-NiFi-Java-process/m-p/125028#M26777</link>
      <description>&lt;P&gt;that's strange, what JDK is on my machine&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2016 08:51:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Heavy-CPU-usage-by-NiFi-Java-process/m-p/125028#M26777</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2016-05-02T08:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: Heavy CPU usage by NiFi Java process</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Heavy-CPU-usage-by-NiFi-Java-process/m-p/125029#M26778</link>
      <description>&lt;P&gt;How many flow files in the queue?&lt;/P&gt;&lt;P&gt;It sounds like you used a processor generating large amounts of FlowFiles and your computer was not able to handle so much. You may want to consider back pressure features, or changing the scheduling of processors.&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2016 14:40:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Heavy-CPU-usage-by-NiFi-Java-process/m-p/125029#M26778</guid>
      <dc:creator>pvillard</dc:creator>
      <dc:date>2016-05-02T14:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Heavy CPU usage by NiFi Java process</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Heavy-CPU-usage-by-NiFi-Java-process/m-p/125030#M26779</link>
      <description>&lt;P&gt;I had something like this happen on my 16G macbook pro when I switched from 0.4.1 to 0.6.0 and reused the repository directories. It was just an experimental instance, so I abandoned the original repos and started from scratch, except for importing a few flows. I have not had the problem since. The odd thing in my case is that it was fine in 0.4.1 but not in 0.6.0.&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 00:47:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Heavy-CPU-usage-by-NiFi-Java-process/m-p/125030#M26779</guid>
      <dc:creator>james_jones</dc:creator>
      <dc:date>2016-05-03T00:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Heavy CPU usage by NiFi Java process</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Heavy-CPU-usage-by-NiFi-Java-process/m-p/125031#M26780</link>
      <description>&lt;P&gt;I am reading flat files from a Unix directory, there are about 8 million files, the files are small, 1Kb-2Kb; but, that may have been the problem; thanks for the suggestion, I will look into back pressure and scheduling; thanks Pierre&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 22:39:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Heavy-CPU-usage-by-NiFi-Java-process/m-p/125031#M26780</guid>
      <dc:creator>Raj_B</dc:creator>
      <dc:date>2016-05-03T22:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Heavy CPU usage by NiFi Java process</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Heavy-CPU-usage-by-NiFi-Java-process/m-p/125032#M26781</link>
      <description>&lt;P&gt;It's JDK 1.8&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 22:41:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Heavy-CPU-usage-by-NiFi-Java-process/m-p/125032#M26781</guid>
      <dc:creator>Raj_B</dc:creator>
      <dc:date>2016-05-03T22:41:24Z</dc:date>
    </item>
  </channel>
</rss>

