@Veerendra Nath JasthiPossibly, you have a complicated computation (may be regex) running on Getfile, which is taking a lot of time to
complete, also check howmany files it is getting based on your regex, it should be fixed.
No I have been using the plain getFile which is having input as a simple folder and we are not doing any regex on those files.
FYI.... In my entire workflow all processors are behaving the same.
I've seen the problem you describe with getfile processor when I used it with nifi deployed on Windows OS and the directory I listed had very large number of recursive subdirectories. In source files of nifi 1.3 or 1.4 I noticed there was a code replacing listfiles with DirectoryInputStream methods, but later it was removed