You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ivano Luberti <lu...@archicoop.it.INVALID> on 2023/09/08 15:17:40 UTC
question about tomcat manager Server Status page
Hi, looking at Server Status and Complete Server Status Page
I can see the following line:
Max threads: 200 Current thread count: 11 Current threads busy: 1 Keep
alive sockets count: 1
But looking at the thread list under the line I can count 24 lines.
So what is the number of thread currently instantiated by tomcat? 11 or 24?
--
Archimede Informatica tratta i dati personali in conformità a quanto
stabilito dal Regolamento UE n. 2016/679 (GDPR) e dal D. Lgs. 30 giugno
2003 n. 196
per come modificato dal D.Lgs. 10 agosto 2018 n. 101.
Informativa completa
<http://www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf>
dott. Ivano Mario Luberti
Archimede Informatica società cooperativa a r. l.
Via Gereschi 36, 56127 Pisa
tel.: +39 050/580959 | fax: +39 050/8932061
web: www.archicoop.it
linkedin: www.linkedin.com/in/ivanoluberti
facebook: www.facebook.com/archimedeinformaticapisa/
Re: question about tomcat manager Server Status page
Posted by Ivano Luberti <lu...@archicoop.it.INVALID>.
Thanks Christopher
Il 08/09/2023 17:51, Christopher Schultz ha scritto:
> Ivano,
>
> On 9/8/23 11:17, Ivano Luberti wrote:
>> Hi, looking at Server Status and Complete Server Status Page
>>
>> I can see the following line:
>>
>> Max threads: 200 Current thread count: 11 Current threads busy: 1
>> Keep alive sockets count: 1
>>
>> But looking at the thread list under the line I can count 24 lines.
>>
>> So what is the number of thread currently instantiated by tomcat? 11
>> or 24?
>
> This is a good question. When I check my localhost Manager running
> 8.5.x, I see this:
>
> Max threads: -1 Current thread count: 4 Current threads busy: 1 Keep
> alive sockets count: 1
>
> The number of threads shown in the http-nio-host-port section shows 5
> threads, 4 in the R state and one in the S state.
>
> When running jstack against my JVM, I can see that there are only 4
> exec threads running.
>
> So I think the claim that there are only 11 threads in your JVM is
> correct. I believe the 24 lines you are seeing are something buggy in
> the Manager's view. I'll see if I can play around with it a little bit
> to see what's happening.
>
> -chris
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
--
Archimede Informatica tratta i dati personali in conformità a quanto
stabilito dal Regolamento UE n. 2016/679 (GDPR) e dal D. Lgs. 30 giugno
2003 n. 196
per come modificato dal D.Lgs. 10 agosto 2018 n. 101.
Informativa completa
<http://www.archicoop.it/fileadmin/pdf/InformativaTrattamentoDatiPersonali.pdf>
dott. Ivano Mario Luberti
Archimede Informatica società cooperativa a r. l.
Via Gereschi 36, 56127 Pisa
tel.: +39 050/580959 | fax: +39 050/8932061
web: www.archicoop.it
linkedin: www.linkedin.com/in/ivanoluberti
facebook: www.facebook.com/archimedeinformaticapisa/
Re: question about tomcat manager Server Status page
Posted by Christopher Schultz <ch...@christopherschultz.net>.
Ivano,
On 9/8/23 11:17, Ivano Luberti wrote:
> Hi, looking at Server Status and Complete Server Status Page
>
> I can see the following line:
>
> Max threads: 200 Current thread count: 11 Current threads busy: 1 Keep
> alive sockets count: 1
>
> But looking at the thread list under the line I can count 24 lines.
>
> So what is the number of thread currently instantiated by tomcat? 11 or 24?
This is a good question. When I check my localhost Manager running
8.5.x, I see this:
Max threads: -1 Current thread count: 4 Current threads busy: 1 Keep
alive sockets count: 1
The number of threads shown in the http-nio-host-port section shows 5
threads, 4 in the R state and one in the S state.
When running jstack against my JVM, I can see that there are only 4 exec
threads running.
So I think the claim that there are only 11 threads in your JVM is
correct. I believe the 24 lines you are seeing are something buggy in
the Manager's view. I'll see if I can play around with it a little bit
to see what's happening.
-chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org