Support Questions

Find answers, ask questions, and share your expertise

MiNifi/State/Local Huge Disk Size Consumption


I have a MiNiFi agent that tails from a file and sends it to a NiFi Cluster. After a while, The state directory takes 27 Gigabytes of the disk and the content_repository only takes 34MB of the disk. Any idea about this problem?



I found the below problem in the minifi-app.log:


2021-09-08 15:00:04,696 WARN [Timer-Driven Process Thread-3] o.a.nifi.processors.standard.TailFile TailFile[id=1697d3af-4b0c-3a38-0000-000000000000] Unable to open file /log/MyLog/myLog_120_20210908_125952.log; will attempt to access file again after the configured Yield Duration has elapsed: java.nio.file.NoSuchFileException: /log/MyLog/myLog_120_20210908_125952.log:


In addition, I found that the line below is repeated regularly in the journal file of this directory: ./minifi-0.5.0/state/local/partition-0/


3877966761 file.205.filename \/log/MyLog/myLog_120_20210908_125952.log.tar.gz file.331.checksum 967031169 file.420.checksum



What exactly does the agent flow do?  TailFile --> RemoteProcessGroup to NiFi?

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.