Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6113D200CA3 for ; Thu, 18 May 2017 07:06:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5F822160BCB; Thu, 18 May 2017 05:06:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A4E28160BBA for ; Thu, 18 May 2017 07:06:13 +0200 (CEST) Received: (qmail 99006 invoked by uid 500); 18 May 2017 05:06:12 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 98994 invoked by uid 99); 18 May 2017 05:06:12 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 May 2017 05:06:12 +0000 Received: from Christophers-MacBook-Pro.local (unknown [12.154.31.185]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id C16901A0331 for ; Thu, 18 May 2017 05:06:10 +0000 (UTC) Subject: Re: Can't get over 100 client connections? To: users@tomcat.apache.org References: From: Christopher Schultz Message-ID: Date: Thu, 18 May 2017 01:05:47 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit archived-at: Thu, 18 May 2017 05:06:14 -0000 -----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: > > > 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