tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Can't get over 100 client connections?
Date Thu, 18 May 2017 05:05:47 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

John,

On 5/16/17 1:57 PM, John.E.Gregg@wellsfargo.com.INVALID wrote:
> All,
> 
> I'm using Tomcat 7.0.75.
> 
> I cannot get my connection or thread count over 100 no matter how
> much load I throw at the server.  Currently I just have a dummy app
> deployed that doesn't do much except sleep for about 500ms and
> return a canned response.  Initially I had maxThreads=20 with no
> explicit maxConnections.  I could get the "current threads busy"
> metric to 20 easily.  Then I raised it to 100 and was able to reach
> that number easily.  Additionally, netstat told me I had 100
> incoming connections to port 5114.  However raising the maxThreads
> higher doesn't make any difference, nor does explicitly specifying
> maxConnections=200.  In either case, I can only get 100 busy
> threads and 100 active connections.  Once I reach that limit, the
> response times on the client start going up.  The Tomcat server
> itself isn't stressed at all.  CPU and GC are low.  The client is
> on a different server in the same data center.
> 
> I'm not going through a load balancer.  I'm going directly to the
> connector below:
> 
> 
> <Connector port="5114" protocol="HTTP/1.1" SSLEnabled="true" 
> maxConnections="200" maxThreads="200" maxKeepAliveRequests="100" 
> keepAliveTimeout="10000" scheme="https" secure="true" 
> clientAuth="true" sslProtocol="TLS" 
> keystoreFile="/app/comp/myapp/certs/appcerttestkeystore" 
> keystorePass="${keystore.password}" keyAlias="test" 
> truststoreFile="/app/comp/myapp/certs/cacerts" 
> truststorePass="${truststore.password}" 
> allowUnsafeLegacyRenegotiation="false" ciphers="blah blah blah" />

What is the benchmark client and how do you invoke it?

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

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlkdK6sACgkQHPApP6U8
pFh1zxAAlYXrL7LVfojOlVFfXizjNCC9ioE1ogn2557ga0lpU34D58FxtnSeP+DK
EywaYVNAcWzckFcoTc796GJJ9DVnmZN+rbGosT5jPR42pLYw9N2M6N3MVp0PQ/Tn
hud1X9giCDIqgC3YsuxtMqfwU4haVS7+qARrfpdVf9s+J0NMjTQK1AYmM78CSLeZ
RRe13eQDZFShl4cVrJhuRilu0Bf8vKSSMXFUCPpaZo1yU6Js6IVfS+YZwTpwjtfO
EYQQjQ6t5cplpv7fvGiiiOEf43/tTH+Cyii0M2VmdYnhDh3/WJUClbVtLE2zkVSY
7TG32sSGrjpUOS5/Zucbfjsc8G5E5y9AFdZctGK9A513yiLr+uB+YEG7TehwNelN
Z3wUGKZ6KXeAtjs2HMfg2tZ+6G2VMKUWAcn2+AC/vhEfq2DjdDn4KNmFma1WMVMW
k3J8khO7zbGyWFuzOyFrZ3dQyjGwWhLsmeiALphLkIKSVcUTD93rIidlvwEu2P3x
yUDeo+sNqwu0tr5j3b+CLPSFT8rClEIuG/yw3SFpeB/6XSOwJt5U5zspVVI7HRgd
7f0q9rVCy4mL9241CF0ntV9XN5EIpRi9EnPL2nXCz2eZTWBEGVjyo0CL+z8m5DZD
skw0vv6f6AlKjYrpk5Kt4c3zJFynUf8nP2B1xJ4NFggIYWQS6Ss=
=luv6
-----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