Created 02-05-2025 12:27 PM
Hello,
We are using a Nifi cluster with 5 nodes. Each node is a machine with 48 cores and 280-300 Gi of available memory. The issue we currently have is Nifi having trouble keeping up when a high number of tasks is required, 1,000,000+ tasks. The files are eventually transferred but errors do pop up in the mean time that seem to be irrelevant and more related to the flow trying to keep up. It's a simple flow with a GetFile > UpdateAttribute > PutSFTP > LogMesssage. I have increased concurrent tasks and batch sizes but this has little to no effect.
Created on 02-06-2025 09:48 AM - edited 02-06-2025 09:49 AM
@jfs912
You should not be configuring your NiFi with larger then necessary heap. Doing so just leads to very long stop-the-world garbage collection events. The simple flow you have described would use very little heap memory.
Adjusting concurrent tasks has multiple elements to it.
Please help our community grow and thrive. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped.
Thank you,
Matt
Created 02-05-2025 05:38 PM
@jfs912 Welcome to the Cloudera Community!
To help you get the best possible solution, I have tagged our NiFi experts @MattWho @SAMSAL who may be able to assist you further.
Please keep us updated on your post, and we hope you find a satisfactory solution to your query.
Regards,
Diana Torres,Created on 02-06-2025 09:48 AM - edited 02-06-2025 09:49 AM
@jfs912
You should not be configuring your NiFi with larger then necessary heap. Doing so just leads to very long stop-the-world garbage collection events. The simple flow you have described would use very little heap memory.
Adjusting concurrent tasks has multiple elements to it.
Please help our community grow and thrive. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped.
Thank you,
Matt
Created 02-11-2025 07:19 AM
@jfs912 Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. Thanks.
Regards,
Diana Torres,