Support Questions
Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Innovation Accelerator group hub.

How to calculate Nifi threads.

Contributor

65019-capture.png

Hi Team,

How to calculate Nifi threads. ? because in the screenshot it showing totally 68 threads its using but the actual used is only 12 so how to find the remaining threads details ??

Kinldy help on this.

65017-capture.png

11 REPLIES 11

Contributor
@Matt Clarke

Hi Bro need your inputs.

Contributor
@Bryan Bende

experts inputs required.

Master Guru

@Anishkumar Valsalam

How are you determining that only 12 threads are actually being used?

The UI is merely a snapshot in time, it does not update in real time.

What version of HDF are you running?

What is "Max Timer Driven Thread Count" set to?

What is "Max Event Driven Thread Count" set to?

How many nodes in your NiFi cluster?

Thanks,

Matt

Contributor

We are running only two processor group and the overall usage you can see in the 2 PG ( 8 + 4).

Hdf - 3.0.1.0-43
Maximum Timer Driven Thread Count = 100

Max Event Driven Thread Count = 5

we have two nodes but it not configured as cluster.

Master Guru

@Anishkumar Valsalam

In HDF 3.0 the thread stats in the status bar also reflect the total number of threads allocated to the Event Driven Thread pool. Is it possible the event driven thread pool was ever increased and then later reduced back to 5? Reductions to the Event Driven thread pool allocation will not take affect until a restart of NIFi.

Contributor
@Matt Clarke

Recently we didn't do any update and we have tried with restart also but still we are seeing differences in the thread values in status bar.

67533-capture.png

What actually we configured.

67534-capture.png

What actually running.

67535-capture.png

How this drastic differences ? pls help to close this.

Master Guru

@Anishkumar Valsalam

TIP: Do not respond to an answer with a new answer. If you are responding to an existing answer thread, use comments.

The threads status total shown in the status bar can include threads active for things other then just processor components. For example: Controller Services and Reporting Tasks.

Thank you,

Matt

Master Guru

@Anishkumar Valsalam

I honestly do not know how to extract that info from NiFi. If I find something out, I will update this thread.

Contributor

@Matt Clarke

How we can ensure that ? the remaining threads was using by other Ex :controller services / Reporting tasks.

Contributor
@Matt Clarke

Can you explain.. how we can ensure the remaining threads was using by other components Ex :controller services / Reporting tasks.

If you explain that really helpful to close this thread.

Contributor

We are running only two processor group and the overall usage you can see in the 2 PG ( 8 + 4).

Hdf - 3.0.1.0-43
Maximum Timer Driven Thread Count = 100

Max Event Driven Thread Count = 5

we have two nodes but it not configured as cluster.