-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Calder,
On 6/20/20 13:24, calder wrote: > On Fri, Jun 19, 2020, 15:46 Ayub Khan <ayub...@gmail.com> wrote: > >> tomcat 8.5 broken pipe increases open files on ubuntu AWS >> > > > If there is slow response from db > > > Might be a good idea to investigate the reason for the "slow > response" > > I see this stack trace and the open files goes high > > > [ snip ] > > > Caused by: java.io.IOException: Broken pipe >> at sun.nio.ch.FileDispatcherImpl.write0(Native Method) > > > > If I remember correctly, we had this issue about three+ years ago. > Is your app using the "dbcp" (1.4) library? We ended up moving to > "dbcp2", in addition to optimizing the DB queries. DBCP 2 is preferred to DBCP 1, but not because of bugs. It's preferred because of an improved architecture, performance, etc. The version of DBCP that comes bundled with Tomcat is usually all anyone really needs. - -chris -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl7vlowACgkQHPApP6U8 pFiOThAAq6dba6E/h49MP2e1ArNOEv5lsJf3oxaZFSlbLfYMG/WnKXve1s03/Wsy tJJXVuzaDvVigs9yue+ucZw0bdZGAEtAS5g/Qw3GMjc2tCs6ze1MA5hQLHqXbOM3 gU5KRkyn5TBTCF/vB6EPSr25RQeuZLjFquDrhyaLn5QPsJ1np+vfCHezLjt4L99m oa4ouequVMtSB+9SA9+3/4xym+Fw7Vba4t5Bx6uUqdNIeIjwF2PXOtmEOB+2HVTq ijCvC7yBOvHdtGr79KLV7Eukg7uOriTNvSXweI809ufLny9SZ4+pwQp/wMKlFdof uMBKKwBngllFSZvVtpjm4I4IrhNr0fzzI8OlLBck5pLFNP02mOjsEwM150gIJ11g 15nrdf3F8Xfv4SEsCVasTHNQSuBEfhb0qNNfO/0OKdQQuHCCdGHCJ3ILmyWKSBPp tOb7yK8MwescUkzfAP82D1Lw796XLKyTdTuNcqt3IIHSrPmaO4beSQFafPPKZnlP LqU+IG8Eiq+vOkQQpWbaYv2zF7F2Grpr6XGO29/nu7Pu2drQyAO4YFtxji8k4xfu LOeaxQ53/K4WDrZVgh1wZ+7T2sQzEuLYUnpaSJIuwXXOhBnTP7s6CLTL1ule997o 93CHE9m6j2XBIioHy15Y0MkL4qlHorf6qIHANxsmdFwhSMYJ9j4= =kkHx -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org