-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 André,
On 3/8/14, 6:30 AM, André Warnier wrote: > Leon Rosenberg wrote: >> Hello Leo, >> >> >> On Fri, Mar 7, 2014 at 6:49 PM, Leo Donahue <donahu...@gmail.com> >> wrote: >> >>> On Fri, Mar 7, 2014 at 9:01 AM, Leon Rosenberg >>> <rosenberg.l...@gmail.com> wrote: >>>> Hello, >>>> >>>> I do use multiple connectors but one service. Multiple >>>> connectors to separate user traffic from admin/management >>> traffic. >>>> For example if due to overload no threads are available to >>>> server http request on the 'main' connector, I still can look >>>> into the app, to see >>> what >>>> is going on, over my "administrative" connector. >>>> >>>> Leon >>> You are just changing the port number then in your >>> "administrative" connector, in the same Service element? >>> >> yes: >> >> for example >> >> <Connector executor="tomcatThreadPool" port="8080" >> protocol="HTTP/1.1" connectionTimeout="20000" /> >> >> <Connector executor="tomcatThreadPool" port="8180" >> protocol="HTTP/1.1" connectionTimeout="20000" /> >> >> I would then point the front loadbalancer to 8080 and keep 8180 >> accessible from the administration network only. >> > > With the above configuration, both these Connectors share the same > pool of threads. If the Connector on port 8080 exhausts the > available threads, you will not be able to connect using the > Connector on port 8180 (ok, you will be able to connect, but not to > do anything). For even more resilience, I would give that port 8180 > Connector its own pool of (e.g.) 3 threads, not shared with the > Executor. +1 Also, there's only one Service, which was the original subject. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJTHQ3pAAoJEBzwKT+lPKRYhT4QALLwYJv/xcBnWrDHfaeIg/M6 q4LhS5PgMGwTYW/nuq8hCOnnjFYIyTlmQMbAPiC8F4CbLAn6VeGWAG/blHsrfA1l B1iml8qEgZ8cHVlTHKa/GFci2oMpNomv1yNcc0jSYQDvOfXLeUoz5QAZWy7mGAXu Q77CEJshxwR9Ixpvhu8lV6yUs2MRBZTU4QgDV10ZSMWLy9NyLWk4DBg4aRqvl5wg 7Z9WLZiHWWA8kpIugHspmNScWHS+jcol/lOQlrwdiipm3JLUlLywpSxEJ4lM1LYz ypwiQCmHPVFuBXtowGbKLdAet4Hx/uPXsO1Z7579d0gsl5ZYnmGO/ZwqkH7Tyhu6 gsFwM00FjgVKAodcY179ivJ8VETGMkvhgJB4YcRSzX+AeZG5JXaFca9SjpnKTn/5 WdSZKGzsyEYIgNOXlvbeDMRTLrJcsIMwXFcGlHVZTWJs4u1rSt4R3r06lqxwJ/1R TT3PzEaPP7G/oK0nCfoT2sDUdAUB379zZSW9PqCK0DNxr9TQd8ZpNcZ1E32R/MoF vAVno8c6jzKJNK3Auc1ZdypeDdRDjsUS/viBG2AKKlrnJZhZXGvW3qwBMLEXQD8J WZI0NDL32SPs035VRt4XNeCN89qk3mHfTDgysxEbBazAacffSFu5MvZfVjcIaN3p pg7Eip/bLjYnbNza5LbF =Fq0A -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org