Meaning of 'Total Started' threads in weekly report

357 views
Skip to first unread message

lno...@gmail.com

unread,
Aug 31, 2017, 2:29:38 PM8/31/17
to javamelody
Hello,

I am trying to understand the meaning of numbers from section 'Detailed threads' from a weekly Java melody report from production.

Threads on server@ip Number = 366, Maximum = 387, Total started = 85,263 

How the numbers are calculated? Are they coming from the 'Threads count' chart. 

Does 'total started' mean the total amount of threads for the server for the week? 


Thank you.

Elina



evernat

unread,
Aug 31, 2017, 6:11:50 PM8/31/17
to javamelody

Hello Elina,

You can see an example of those numbers in the demo:
http://javamelody.org/demo/monitoring#threads
And an example of the Threads count chart here:
http://javamelody.org/demo/monitoring?part=graph&graph=threadCount&period=semaine

Yes, those numbers in 'Detailed threads' and in the chart are related to the same thing: the numbers of threads in the JVM. But there are not for the same period.
In the Threads count chart, the values are displayed for a chosen period (day, week or other). And the Maximum and Total started numbers from 'Detailed threads' are the values since the last start of the JVM. So the maximum in the chart may be different from the maximum in 'Detailed threads'.

Then, the Total started value is the number of all threads started since the last start of the JVM. In your case Total started is 85263, which suggests that your application or server starts new threads very frequently and most of those threads have then died (most have died otherwise the current Number of threads would be much higher than 366, which is currently quite high by itself but much less than 85263).

bye,
Emeric

lno...@gmail.com

unread,
Sep 1, 2017, 11:22:17 AM9/1/17
to javamelody
Hi Emeric,

Thank you very much for your quick response. I really appreciate your help.
My guess is the issue is due to hazelcast configuration. https://github.com/hazelcast/hazelcast/issues/2089
We will investigate that.

Thanks again.
Elina
Reply all
Reply to author
Forward
0 new messages