-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Norbert,

On 8/16/20 13:16, Norbert Elbanbuena wrote:
> I also noticed that while server receives the connection requests,
> we are seeing multiple requests from the same sources. Some same
> source requests (FIN-WAIT) are all in state while other same
> sources requests are in other state (some in FIN-WAIT or close_wait
> and some Established).
>
> Why are we seeing multiple requests from the same source at the
> same time? Doesn't each socket request exhaust a thread on the
> application?

Not always.

See the table at the bottom of this page:
http://tomcat.apache.org/tomcat-9.0-doc/config/http.html#Connector_Compa
rison

The NIO and APR connectors are non-blocking while waiting for the
"next request", so if a client connects and never explicitly
disconnects, you can have a rising connection count without running
out of request-processing threads.

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl88Xo4ACgkQHPApP6U8
pFjvVBAAneeiMR8ZeEwa2kzymC4PKAAu6ZhiBUjMpGeyfBjgPrOxegQV+9ucyOo/
Ydk++ubxpYu5NRVruvCyhGbKL6x0x8Ds9jUTKvctrMLrmXK2Fxm/+O50Y0Q2ddfr
n1QYT9jmlv4s9rybSoBinm6tOCTjZLxExp+f4eAgC6VM5Zfl9Z3QkvUHU+YoV1l6
S4AJteXjZZEytmURxtwYpmtHPVknWvg6vlGAP8FFbH2KAKoaqv0DUB+zWe3vtSoD
0+55j2mJJphQkY00nfqzxEZDgfy68+bcqA+eLPM7ya+DsDjHiaUWOXOFwA8hHAJ3
L7+USQtP28EgEvHU6LsTBwwZxIYo4bCIAiC/Ncs8AdxBUCDiq2dNaS+pESUIkef5
IgFu+mrcZycNxaabmebfiCexIt4Oc+JQzUo1VhGYEuulPic67WyYFeYAgoasSIqc
MBAwV6/ahYNfoZwiJWjBPkkGBTNDuVQbk8PNbJ9JmvP0yWVolZKZDr9OLJKVvfSF
r576LhEIa0fwdA1x115ipnjYGWzPaobnX7xzVjpNNUXtbISG9gGXut57z7u7Ttdw
AEBedOx3vFdmBIn4Rw4y3o8it7hOVlMNQqW6f4LW7+KCDKf3yK/4+dipF7exjh2e
+7dBdb0UU2xcLOre6ZRJD3XFp4V3bTYFu3QiZl2LStpJjMsfqmM=
=r7Rk
-----END PGP SIGNATURE-----

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

Reply via email to