Support Questions

Find answers, ask questions, and share your expertise

Restarting Nifi due to RAM and Disk space issue once in a day


According to our current implementation, we are restarting nifi once in a day becuase after lot of porcessing, either disk space or RAM is fully cosumed by Nifi. That is why we need to restart the nifi and we are not only restarting the nifi we are cleaning the below directories also -

  1. content_repository
  2. state
  3. logs
  4. run
  5. work
  6. database_repository
  7. provenance_repository
  8. flowfile_repository

I know here is something wrong in our configuration and setup which is forcing us to restarting nifi once in a day and the above folder cleaning. Please help if you find something wrong in our process.



@Bryan Bende - I request you to please give your thoughts on it. Thanks in advance.

Super Guru

You can turn down the length of provenance data or change the repository type.

Seems like you need more RAM and more nodes.

Post your configuration files.

How many flows?

What version of NiFi?

What version of JDK?

What host OS?

How much RAM on the system?

What kind of server.

What type of disk?

Configuration Recommendations:

I would double all of those numbers.


Set rollovers shorter

Upgrade to the latest HDF 3.3 / NiFi 1.8.0 version.



Thanks for the response.

Configurations -

How many flows? - did you mean messages in nifi? if yes, almost 45k messages flows as we are using splits and all. you can say almost 1.2 GB of data flows.

What version of NiFi? - 1.7.1

What version of JDK? - 1.8

What host OS? - Redhat

How much RAM on the system? System is having 32 Gb of RAM. 6GB is allocated to Nifi in bootstrap.conf.

What kind of server? -

What type of disk? - HDD