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.

Reply via email to