<?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: With a large number of processors and connections, NiFi boots up very slowly. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/With-a-large-number-of-processors-and-connections-NiFi-boots/m-p/412867#M253740</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/106917"&gt;@Soli&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Unfortunately, there is not enough shared to say what is taking so long during your startup.&amp;nbsp; Above log snippet shows ~.001 millisecond between each log line.&amp;nbsp; At 34,000 connections, that would be only 34 seconds.&amp;nbsp; Assuming About the same for other components, I don't think the synchronizing of components is what is taking the bulk of the 10-15 minutes of startup time.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In the nifi-app.log, what time is reported application start:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;INFO [main] org.apache.nifi.runtime.Application Started Application in &amp;lt;xxxxx&amp;gt; seconds&lt;/LI-CODE&gt;&lt;P&gt;What does each node report here?&amp;nbsp; Are all nodes taking roughly same time to start or is there any specific node taking longer then the other two?&lt;/P&gt;&lt;P&gt;Is performance good once NiFi is up and running?&lt;BR /&gt;Are all ~21,000 components in the running state?&lt;BR /&gt;&lt;BR /&gt;Any WARN or ERROR logging during startup?&lt;BR /&gt;&lt;BR /&gt;How many FlowFiles are queued per node?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;After NiFi is started, maybe collect a verbose NiFi diagnostics output for review.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;./bin/nifi.sh diagnostics --verbose diag.txt&lt;/LI-CODE&gt;&lt;P&gt;You may also collect thread dumps&amp;nbsp; every minute during startup to see what thread during is taking so long.&lt;BR /&gt;&lt;BR /&gt;Hopefully some of this will help you see what is slowing your startup.&lt;BR /&gt;&lt;BR /&gt;There have been some improvements to startup time in Apache NiFi 2.x release.&lt;BR /&gt;There were a few improvements to startup in Nifi 1.x releases, but those were made prior to 1.22.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help our community grow. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Nov 2025 14:48:57 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2025-11-17T14:48:57Z</dc:date>
    <item>
      <title>With a large number of processors and connections, NiFi boots up very slowly.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/With-a-large-number-of-processors-and-connections-NiFi-boots/m-p/412865#M253739</link>
      <description>&lt;P&gt;Current Issue:&lt;BR /&gt;Recently, we have encountered a significant slowdown during NiFi cluster restarts. The startup process takes approximately 10 to 15 minutes, and the `nifi-app.log` indicates that NiFi is spending most of this time restoring components. For example, we see many log entries like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2025-11-15 15:13:51,911 INFO [main] o.a.n.f.s.StandardVersionedComponentSynchronizer Added Connection[ID=70a5878d-0199-1000-ffff-ffff9a65a5f2, Source ID=7097063b-0199-1000-0000-0000565ddd06, Dest ID=7096bae9-0199-1000-ffff-ffffbae5c592] to StandardProcessGroup[identifier=70967de1-0199-1000-0000-00001dde7b99,name=Filter empty files]&lt;BR /&gt;2025-11-15 15:13:51,913 INFO [main] o.a.n.f.s.StandardVersionedComponentSynchronizer Added Connection[ID=7097150c-0199-1000-ffff-ffffd3ea7bb1, Source ID=7096aedf-0199-1000-0000-000061416339, Dest ID=7097063b-0199-1000-0000-0000565ddd06] to StandardProcessGroup[identifier=70967de1-0199-1000-0000-00001dde7b99,name=Filter empty files]&lt;BR /&gt;2025-11-15 15:13:51,914 INFO [main] o.a.n.f.s.StandardVersionedComponentSynchronizer Added Connection[ID=70a4170c-0199-1000-0000-00000c861b3a, Source ID=70a1808b-0199-1000-0000-000010d88e3d, Dest ID=92923d85-ec54-12f9-97aa-43ac5442d61c] to StandardProcessGroup[identifier=70967de1-0199-1000-0000-00001dde7b99,name=Filter empty files]&lt;BR /&gt;2025-11-15 15:13:51,915 INFO [main] o.a.n.f.s.StandardVersionedComponentSynchronizer Added Connection[ID=70a16555-0199-1000-0000-00002007ddf8, Source ID=7097063b-0199-1000-0000-0000565ddd06, Dest ID=70a1808b-0199-1000-0000-000010d88e3d] to StandardProcessGroup[identifier=70967de1-0199-1000-0000-00001dde7b99,name=Filter empty files]&lt;BR /&gt;2025-11-15 15:13:51,915 INFO [main] o.a.n.f.s.StandardVersionedComponentSynchronizer Added Connection[ID=70a3f911-0199-1000-0000-0000498a8368, Source ID=70a1808b-0199-1000-0000-000010d88e3d, Dest ID=7096bae9-0199-1000-ffff-ffffbae5c592] to StandardProcessGroup[identifier=70967de1-0199-1000-0000-00001dde7b99,name=Filter empty files]&lt;BR /&gt;2025-11-15 15:13:51,916 INFO [main] o.a.n.f.s.StandardVersionedComponentSynchronizer Added Connection[ID=70a44583-0199-1000-ffff-ffffc73bccdb, Source ID=b4f138b4-271e-16af-b734-a2005561c5b3, Dest ID=b4f138b4-271e-16af-b734-a2005561c5b3] to StandardProcessGroup[identifier=70967de1-0199-1000-0000-00001dde7b99,name=Filter empty files]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our Environment:&amp;nbsp;&lt;BR /&gt;- NiFi Version: 1.22.0 (3-node cluster mode)&lt;BR /&gt;- Java Version: jdk-11.0.16.1&amp;nbsp;&amp;nbsp;&lt;BR /&gt;- Operating System: Red Hat 8.10&amp;nbsp;&amp;nbsp;&lt;BR /&gt;- CPU: 32 cores&amp;nbsp;&amp;nbsp;&lt;BR /&gt;- Memory: 48GB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our Flow Summary:&amp;nbsp;&lt;BR /&gt;- Processors: 20,725&amp;nbsp;&amp;nbsp;&lt;BR /&gt;- Connections: 34,000&amp;nbsp;&amp;nbsp;&lt;BR /&gt;- Process Groups: 217&amp;nbsp;&amp;nbsp;&lt;BR /&gt;- Output Ports: 215&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 02:03:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/With-a-large-number-of-processors-and-connections-NiFi-boots/m-p/412865#M253739</guid>
      <dc:creator>Soli</dc:creator>
      <dc:date>2025-11-17T02:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: With a large number of processors and connections, NiFi boots up very slowly.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/With-a-large-number-of-processors-and-connections-NiFi-boots/m-p/412867#M253740</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/106917"&gt;@Soli&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Unfortunately, there is not enough shared to say what is taking so long during your startup.&amp;nbsp; Above log snippet shows ~.001 millisecond between each log line.&amp;nbsp; At 34,000 connections, that would be only 34 seconds.&amp;nbsp; Assuming About the same for other components, I don't think the synchronizing of components is what is taking the bulk of the 10-15 minutes of startup time.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In the nifi-app.log, what time is reported application start:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;INFO [main] org.apache.nifi.runtime.Application Started Application in &amp;lt;xxxxx&amp;gt; seconds&lt;/LI-CODE&gt;&lt;P&gt;What does each node report here?&amp;nbsp; Are all nodes taking roughly same time to start or is there any specific node taking longer then the other two?&lt;/P&gt;&lt;P&gt;Is performance good once NiFi is up and running?&lt;BR /&gt;Are all ~21,000 components in the running state?&lt;BR /&gt;&lt;BR /&gt;Any WARN or ERROR logging during startup?&lt;BR /&gt;&lt;BR /&gt;How many FlowFiles are queued per node?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;After NiFi is started, maybe collect a verbose NiFi diagnostics output for review.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;./bin/nifi.sh diagnostics --verbose diag.txt&lt;/LI-CODE&gt;&lt;P&gt;You may also collect thread dumps&amp;nbsp; every minute during startup to see what thread during is taking so long.&lt;BR /&gt;&lt;BR /&gt;Hopefully some of this will help you see what is slowing your startup.&lt;BR /&gt;&lt;BR /&gt;There have been some improvements to startup time in Apache NiFi 2.x release.&lt;BR /&gt;There were a few improvements to startup in Nifi 1.x releases, but those were made prior to 1.22.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help our community grow. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 14:48:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/With-a-large-number-of-processors-and-connections-NiFi-boots/m-p/412867#M253740</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2025-11-17T14:48:57Z</dc:date>
    </item>
  </channel>
</rss>

