tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: JMX currentThreadsBusy less than connections/requests when use APR connector
Date Wed, 08 Mar 2017 14:45:48 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Linbo,

On 3/7/17 10:14 PM, linbo liao wrote:
> I setup local environment to test Tomcat monitor.
> 
> The Environment:
> 
> Tomcat: 8.5.5 VM: Ubuntu 14.04.1 LTS HTTP PORT: 8080 IP:
> 10.211.55.4
> 
> Tomcat use APR connector, I test the tomcat via ab command, find
> JMX currentThreadsBusy < 10 all of the time.
> 
> ab -n 100000 -c 100 10.211.55.4:8080/
>> 
> 
> I tried to search the reason but without the result. For BIO each
> thread to handle one connection, so currentThreadsBusy can show the
> performance of tomcat.
> 
> But for APR connector, what's the meaning of currentThreadsBusy?

Please post your <Connector> configuration.

It seems that ab isn't a very good load-generator for several reasons.
But you should be able to get more than Java 10 threads working at a tim
e.

You are probably expecting ~100 threads busy at all times, right?

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJYwBkcAAoJEBzwKT+lPKRYxLQQAJsr6IWI6kRaCmEg+SMZRKco
8ALINQrUvkUZYvIx23wlr7cKpmZ0g02RVXKn8+usEsiZ9vBwb6ap3HV7RCM/xl33
zaAuxYPNsJ9bMUnTTkxr5ciSvMGI1FhvTWazEHprLoiPV1RtBwKBLTbztxQTQfO4
0AqfRgucC0NJbEPzVwKc6FB9qUl+U3XROUCC2AKmaFIHbQDSPnCLKX3hyzaOsH7R
cd8nr3teQxoisIT3MuhaWPMDdfdKbe0ZmPj39borGUvHwUL1kRCz3wYvoQN3kCg5
YHxjV3B9TYqU1q0TiILuQvO1rbG8G3QLIXFz8eNdX1XwS0oIRYAJfhTqSbxBuTlm
1jSrS716Kd2JkmNWmoSLHFSvBUkevirh5ZL6B9SuFvV449lCgBjwV//wiE/oskbT
6+jKDrL0ReCw8NtfWbCaeXmltyR9ir7x4SSjT1iSpg/ZGnxmKkdiZFoR/mWDcH5G
y4TwbmDC0RNAfC9lNCp5cBtrIZkoJM53iOtUCB22I3tco/hNB91TV8WN5RKqAHl1
Cn7FLfSGwBQRv3UHfeWmMwxcP4Q4FxMbpqtHv2PAcjB7skcsbR6BUth9gY3FbWmF
DvKL941SuDPLtA9IVr/nplvwlMUV/QQNi+tZXuL9Xf1GoCgcM7uVQkcuhlf+QpFm
ELHZ5kXO3Zs7RrycRnL3
=6bmJ
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message