<?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 queues too large? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-queues-too-large/m-p/149015#M44486</link>
    <description>&lt;P&gt;Do you still have the original source of data outside of NiFi?&lt;/P&gt;&lt;P&gt;If so, you could completely wipe your NiFi back to a clean slate by stoping NiFi and deleting all of the "_repository" directories and restarting. Then you could configure appropriate back-pressure before trying to pick up these files again.&lt;/P&gt;&lt;P&gt;If that is not an option you probably need to figure out what is causing things to hang, is it going out of memory and showing exceptions in the nifi-app.log?&lt;/P&gt;</description>
    <pubDate>Wed, 26 Oct 2016 01:24:23 GMT</pubDate>
    <dc:creator>bbende</dc:creator>
    <dc:date>2016-10-26T01:24:23Z</dc:date>
    <item>
      <title>NiFi queues too large?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-queues-too-large/m-p/149014#M44485</link>
      <description>&lt;P&gt;I pulled in a large number of files into nifi using the &lt;STRONG&gt;getFile &lt;/STRONG&gt;processor... I am looking to store these files in HDFS using &lt;STRONG&gt;putHDFS&lt;/STRONG&gt;. The process ran overnight and didn't have any back pressure set so the queue got backed up. It seems that this is causing &lt;STRONG&gt;threads to hang&lt;/STRONG&gt; when trying to start &lt;EM&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;/EM&gt; processor. &lt;/P&gt;&lt;P&gt;I am also unable to empty the queue... the process just hangs indefinitely at 0%. &lt;/P&gt;&lt;P&gt;Some things I have tried so far:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Restarting Server (removes hanged threads, but threads hang whenever processors are started again)&lt;/LI&gt;&lt;LI&gt;Increasing Java heap size to 16g&lt;/LI&gt;&lt;LI&gt;Using G1GC garbage collector&lt;/LI&gt;&lt;LI&gt;Increasing swap size of queue to 40,000 since both of the backed up queues have 29,000 (8GB) - 25,000 (800MB compressed) flow files in them respectively.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Does anyone have any suggestions for what I should do next? Has anyone run into this issue before? I am on nifi version 0.6.1. Thanks for you help! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 22:29:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-queues-too-large/m-p/149014#M44485</guid>
      <dc:creator>orekxl</dc:creator>
      <dc:date>2016-10-25T22:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi queues too large?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-queues-too-large/m-p/149015#M44486</link>
      <description>&lt;P&gt;Do you still have the original source of data outside of NiFi?&lt;/P&gt;&lt;P&gt;If so, you could completely wipe your NiFi back to a clean slate by stoping NiFi and deleting all of the "_repository" directories and restarting. Then you could configure appropriate back-pressure before trying to pick up these files again.&lt;/P&gt;&lt;P&gt;If that is not an option you probably need to figure out what is causing things to hang, is it going out of memory and showing exceptions in the nifi-app.log?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 01:24:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-queues-too-large/m-p/149015#M44486</guid>
      <dc:creator>bbende</dc:creator>
      <dc:date>2016-10-26T01:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi queues too large?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-queues-too-large/m-p/149016#M44487</link>
      <description>&lt;P&gt;This worked for me in combination with restarted ActiveMQ... thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 22:41:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NiFi-queues-too-large/m-p/149016#M44487</guid>
      <dc:creator>orekxl</dc:creator>
      <dc:date>2016-10-27T22:41:59Z</dc:date>
    </item>
  </channel>
</rss>

