<?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 is getting too slow in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/NiFi-is-getting-too-slow/m-p/414406#M255414</link>
    <description>&lt;P&gt;Hello &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95503"&gt;@steven-matison&lt;/a&gt;&amp;nbsp; thank you for your detailed explanation. I also narrow this down to resource scarce issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes it's currently single node. Could you please help me understand how to have cluster you mentioned above and like how to do it and what all is required for that.&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jul 2026 06:30:26 GMT</pubDate>
    <dc:creator>AlokKumar</dc:creator>
    <dc:date>2026-07-29T06:30:26Z</dc:date>
    <item>
      <title>NiFi is getting too slow</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-is-getting-too-slow/m-p/414404#M255412</link>
      <description>&lt;P&gt;Hello Team&lt;/P&gt;&lt;P&gt;We have an increasing number of applications being added to our NiFi server. Now the nifi has got too slow that it won't load the home page or when we click a process group then it won't open despite browser url showing the process group id as if page should have gone there.&lt;/P&gt;&lt;P&gt;Also the apis we have implemented using HandleHttpRequest return Socket Timeout error.&lt;BR /&gt;Please note these were working fine earlier.&amp;nbsp;&lt;BR /&gt;What should we do?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2026 13:35:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-is-getting-too-slow/m-p/414404#M255412</guid>
      <dc:creator>AlokKumar</dc:creator>
      <dc:date>2026-07-28T13:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi is getting too slow</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-is-getting-too-slow/m-p/414405#M255413</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/114561"&gt;@AlokKumar&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;It sounds like your NiFi environment is experiencing classic resource starvation due to the increased load. When the UI becomes unresponsive and HandleHttpRequest processors start throwing socket timeouts, it typically means the JVM is struggling with garbage collection (GC) pauses, the thread pools are exhausted, or the disk I/O is bottlenecked. The HTTP timeouts specifically happen because the downstream flow is backing up, preventing NiFi from sending the HTTP responses back in a timely manner.&lt;/P&gt;&lt;P&gt;Here is a checklist of foundational performance tuning and troubleshooting steps to get the system stabilized:&lt;/P&gt;&lt;H3&gt;1. Optimize JVM Memory Allocation&lt;/H3&gt;&lt;P&gt;As you add more flows, NiFi needs more heap space to keep track of FlowFiles in the queues.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Open your conf/bootstrap.conf file.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Increase your minimum and maximum heap sizes. A safe starting point for a heavy-use server is 16GB min and 32GB max:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;java.arg.2=-Xms16g&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;java.arg.3=-Xmx32g&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Important:&lt;/STRONG&gt; Do not allocate 100% of the server’s RAM to the JVM. Leave a healthy amount of memory for the OS. NiFi is designed to intelligently rely on the OS-level page cache to handle its massive read/writes to the Content and Provenance repositories.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;2. Evaluate Thread Pools and Concurrency&lt;/H3&gt;&lt;P&gt;If your API endpoints are timing out, NiFi might not have enough threads available to process the flows.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Global Thread Count:&lt;/STRONG&gt; Go to &lt;STRONG&gt;Controller Settings &amp;gt; General&lt;/STRONG&gt; in the UI. The default "Maximum Timer Driven Thread Count" is usually set to 10, which is far too low for enterprise workloads. A good rule of thumb is 2 to 4 times the number of CPU cores on the server.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Processor-Level Concurrency:&lt;/STRONG&gt; Check your high-volume processors. Increase the "Concurrent Tasks" setting on bottlenecks, but don't blindly increase this everywhere—over-allocating concurrent tasks on slow processors can starve the rest of your flows.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;3. Check Disk I/O and System Resources&lt;/H3&gt;&lt;P&gt;NiFi is extremely disk-intensive. UI freezes often correlate directly with disk bottlenecks.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Check your disk usage and I/O wait times (iostat or top on Linux).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;If your Content, FlowFile, and Provenance repositories are all sitting on the same disk (especially if it's the OS drive), they will compete for IOPS. Moving these repositories to separate, high-speed disks (SSDs/NVMe) drastically improves UI responsiveness.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;4. Reduce Logging Overhead&lt;/H3&gt;&lt;P&gt;Heavy logging can quietly destroy performance.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Review your conf/logback.xml. If you have heavily verbose logging enabled (like DEBUG or TRACE levels for specific custom applications), dial them back to INFO or WARN.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Ensure that NiFi logs are not filling up your root partition.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;5. Consider Scaling Out (Multi-Node Cluster)&lt;/H3&gt;&lt;P&gt;If you are currently running a standalone (single-node) instance and tuning the above settings doesn't give you enough headroom, it is time to move to a clustered architecture. Clustering allows you to distribute the FlowFile processing and HTTP request handling across multiple machines, preventing any single UI or API endpoint from freezing under the weight of the entire system.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Next Steps:&lt;/STRONG&gt; To help us narrow this down further, could you reply with a few more details about the current environment?&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;What are the host server's specs (Total RAM, CPU cores, Disk type)?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Are you seeing any java.lang.OutOfMemoryError messages in the logs/nifi-app.log?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;What is your current Maximum Timer Driven Thread Count set to?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Is this currently a single node or a cluster?&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Let us know once you've had a chance to check these settings!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2026 19:03:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-is-getting-too-slow/m-p/414405#M255413</guid>
      <dc:creator>steven-matison</dc:creator>
      <dc:date>2026-07-28T19:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi is getting too slow</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-is-getting-too-slow/m-p/414406#M255414</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95503"&gt;@steven-matison&lt;/a&gt;&amp;nbsp; thank you for your detailed explanation. I also narrow this down to resource scarce issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes it's currently single node. Could you please help me understand how to have cluster you mentioned above and like how to do it and what all is required for that.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2026 06:30:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-is-getting-too-slow/m-p/414406#M255414</guid>
      <dc:creator>AlokKumar</dc:creator>
      <dc:date>2026-07-29T06:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi is getting too slow</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-is-getting-too-slow/m-p/414407#M255415</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/114561"&gt;@AlokKumar&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;There are a lot of steps involved with setting up a NiFi cluster.&amp;nbsp; Without knowing the details of your standalone NiFi configuration, giving specific guidance on what it would take to convert your standalone to a cluster would be challenging and lengthy.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'd recommend reading through the&amp;nbsp;&lt;A href="https://nifi.apache.org/nifi-docs/administration-guide.html" target="_blank"&gt;https://nifi.apache.org/nifi-docs/administration-guide.html&lt;/A&gt;&amp;nbsp;and setting up a separate NiFi cluster to understand all the configurations that need to be made to be successful before implementing this on your production env.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="https://nifi.apache.org/nifi-docs/administration-guide.html#clustering" target="_blank"&gt;https://nifi.apache.org/nifi-docs/administration-guide.html#clustering&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://nifi.apache.org/nifi-docs/administration-guide.html#basic-cluster-setup" target="_blank"&gt;https://nifi.apache.org/nifi-docs/administration-guide.html#basic-cluster-setup&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Basic requirements:&lt;BR /&gt;1. NiFi cluster requires Zookeeper (ZK): min 3 ZK nodes..&amp;nbsp; ZK must have quorum to work correctly.&amp;nbsp; ZK is utilize to facilitate election of NiFi cluster node roles cluster coordinator node (handle request replication to all nodes in NiFi cluster) and Primary node (only node that will schedule "primary node" only configured canvas components).&amp;nbsp; NiFi offers the ability to start an embedded ZK, but keep in mind that if NiFi is stopped on a node it also stops that NiFi's ZK.&amp;nbsp; ZK is also used to store shared cluster state for processors that need to share state across all nodes.&amp;nbsp;&amp;nbsp;&lt;A href="https://nifi.apache.org/nifi-docs/administration-guide.html#embedded_zookeeper" target="_blank"&gt;https://nifi.apache.org/nifi-docs/administration-guide.html#embedded_zookeeper&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;2. You'll need to configure all NiFi nodes the same (configuration files should match except node specific values).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;3. You'll want to use a more robust configurable authorizer which means also using some form of user authentication besides default single-user enabled out-of-the-box for standalone NiFi evaluation.&amp;nbsp; &amp;nbsp;ldap-provider, kerberos-provider, or SSL certificates are most commonly used, but other options can be found in admin guide as well.&amp;nbsp;&lt;A href="https://nifi.apache.org/nifi-docs/administration-guide.html#user_authentication" target="_blank"&gt;https://nifi.apache.org/nifi-docs/administration-guide.html#user_authentication&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://nifi.apache.org/nifi-docs/administration-guide.html#multi-tenant-authorization" target="_blank"&gt;https://nifi.apache.org/nifi-docs/administration-guide.html#multi-tenant-authorization&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://nifi.apache.org/nifi-docs/administration-guide.html#config-users-access-policies" target="_blank"&gt;https://nifi.apache.org/nifi-docs/administration-guide.html#config-users-access-policies&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope this help get you started on your clustered NiFi journey. I encourage you to create more community questions as you explore this option should you run into complications.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Matt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2026 12:30:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-is-getting-too-slow/m-p/414407#M255415</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2026-07-29T12:30:13Z</dc:date>
    </item>
  </channel>
</rss>

