Christopher, Sorry we are using 8.0.32 version of tomcat.
below is the configuration: Server version: Apache Tomcat/8.0.32 (Ubuntu) Server built: Jan 24 2020 16:24:30 UTC Server number: 8.0.32.0 OS Name: Linux OS Version: 4.4.0-1087-aws Architecture: amd64 JVM Version: 1.8.0_181-b13 JVM Vendor: Oracle Corporation I use the below command to check the file descriptors: watch "sudo ls /proc/`cat /var/run/tomcat8.pid`/fd/ | wc -l" When there an issue related to broken files, this value keeps increasing, the only way to bring it down is to remove vm instance from AWS load balancer. Which version of tomcat should I install ? On Sat, Jun 20, 2020 at 6:28 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Ayub, > > On 6/19/20 16:46, Ayub Khan wrote: > > tomcat 8.5 broken pipe increases open files on ubuntu AWS > > Which exact version of Tomcat 8.5? If you aren't running the latest > version (8.5.56), please upgrade and re-test. > > > If there is slow response from db I see this stack trace and the > > open files goes high and the only way to open files go down is to > > remove the instance from Amazon load balancer. > > > > Is there a way to keep the open files low even when Broken pipe > > error is thrown ? > > What is your evidence that file handles are being left open? > > Which file handles are being left open? > > - -chris > -----BEGIN PGP SIGNATURE----- > Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ > > iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl7uKvMACgkQHPApP6U8 > pFhs7A/+Nxx+iNaiw2tl30cpjkUyIlsS+7Zs43tTafLiMuWWSPP7AoqWe7cf9r2y > APXbvEG0Wu6ptLTUlQ/Qsgr4XqQE9dNekLxP98EtOp/a2K3XMGZ0pZlkX4FuWTmc > AUJdodwYTu9/5MKirx2D9qNblXn71dw1CLiw5BLW7k4LPgxNpx0/aNgTFw7ywIT8 > AjwOyyOLBHN1Q+dO0aGuYcrEOob26YzChobEsKXWSVQWe1TOqPJDsUEh+DYWzVZM > 1e3Pmd2dCag4I69WRdTJVOXo1ETxMF8sT9faimxsfp1YU6xzrxz/a+JeIzB74oVh > m0Xc+clQuVKEitYOhtaZhBN4REYx115f4Jp2R/8z7jASuji/k3vJ6jIz72ExUqtU > G29xOQV9o08JM0jTZRwmKAp6SqlkPlXXZqEX+wMsOVsY0RRh80c/2mnR411OhD6w > 3OZTGnqhRZgQ3AHCqDnkmFxnHmaHdCaZR034lrSM5s5mAt5y7pcefPJyHewkQlyW > GFLt8V4Xpl8nSETkcy36o/anqqrNzy+bufi1bL7K+UXsuoWy+1hpyavesYR7Uz+p > 4JdFvQU6QhU7Gz/8BJXK0Jr/cYi7NTHDFpdTR9iedjF7Wf1db2rT0WZh8+63j/L8 > 6IVDCDqkKBfd5SoMyaoGkL9Dein+v2evNRL06/rqPvRHSB2/gdE= > =8OK0 > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- -------------------------------------------------------------------- Sun Certified Enterprise Architect 1.5 Sun Certified Java Programmer 1.4 Microsoft Certified Systems Engineer 2000 http://in.linkedin.com/pub/ayub-khan/a/811/b81 mobile:+966-502674604 ---------------------------------------------------------------------- It is proved that Hard Work and kowledge will get you close but attitude will get you there. However, it's the Love of God that will put you over the top!!