Support Questions

Find answers, ask questions, and share your expertise

What's the meaning of the number label on NiFi processor

avatar
Rising Star

Hi,

Maybe this is a newbie question, but what's the meaning for the number that appears on the upper-right corner of the processor in this creenshoot ?

6916-screen-shot-2016-08-24-at-95639-am.png

Thanks

1 ACCEPTED SOLUTION

avatar
Guru

That is the number of threads currently running in the processor. You sometimes see this if you have threads running for a while (e.g. long running processes like TailFile, or Listening processes). If you increase the number of concurrent tasks, you will also see this go up.

View solution in original post

3 REPLIES 3

avatar
Guru

That is the number of threads currently running in the processor. You sometimes see this if you have threads running for a while (e.g. long running processes like TailFile, or Listening processes). If you increase the number of concurrent tasks, you will also see this go up.

avatar
Master Mentor

Most threads are very short running (miliseconds) and since the NiFi refresh rate defaults are every 30 seconds. The number in the upper right corner may not represent a still running thread. In your screenshot above, the TailFile processor shows as having recorded the completion of 473,336 Tasks (Each task using a thread to complete) and a total cumulative thread time of only 2 min, 52 seconds and 334 milliseconds over the past 5 minutes.

Long running threads will show much different stats in the Tasks/Time field.

avatar
Rising Star

What is a task in this context ? reading a line ?