Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on
02-25-2020
01:51 PM
- last edited on
02-25-2020
02:58 PM
by
ask_bill_brooks
i'm new to NiFi and have developed simple dataflow which would read 3 files from on-prem and upload into S3 bucket. i am using ListFile, FetchFile and PutS3 processor groups for this case.
When i trigger dataflow, CPU consumption is spiking >100% and NiFi gets crashed.After few minutes. it automatically comes down to normal. This is happening frequently. My onprem server is Linux and has 8 CPUs. Any idea what's going on with this.
Created 02-29-2020 06:52 AM
A couple things you should do:
1) set the schedule of listfile to 1 min or 5 min. If it’s 0 sec it’s always running which isn’t necessary during testing.
2) tail /var/log/nifi/nifi-app.log while trouble shooting the flow to see errors. Address them individually.
I also suspect the Nifi node does not have enough resources (ram/cores/disk) so look into 3 dedicated nifi nodes with enough core and ram and disk configure for each repository type (see documentation) to allow you to operate Nifi in a stable manner.
Created 04-02-2020 06:46 AM
@Gubbi please share you nifi info:
How many nodes?
How much ram and how many cores per node?
What is min/max memory setting in NiFi?
Have you done anything with configuring nifi for performance? For example
Created 04-02-2020 06:46 AM
@Gubbi please share you nifi info:
How many nodes?
How much ram and how many cores per node?
What is min/max memory setting in NiFi?
Have you done anything with configuring nifi for performance? For example
Created 04-02-2020 09:11 AM
Below is my Linux configuration :
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 8
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 85
Model name: Intel(R) Xeon(R) Gold 6140 CPU @ 2.30GHz
Stepping: 4
CPU MHz: 2294.609
BogoMIPS: 4589.21
Hypervisor vendor: VMware
Virtualization type: full
L1d cache: 32K
L1i cache: 32K
L2 cache: 1024K
L3 cache: 25344K
NUMA node0 CPU(s): 0-7
Created 04-02-2020 11:45 AM
@Gubbi I think your ListFile proc is still executing 0 sec. Reference our private message.