Re: broken pipe error keeps increasing open files

2020-06-25 Thread Ayub Khan
gt;>>>>>>>>>>>>> > >>>>>>>>>>>>>>> How do I find out which file > >>>>>>>>>>>>>>> descriptors are leaking ? these are > >>>>>>>>>>>>>>&g

Re: broken pipe error keeps increasing open files

2020-06-25 Thread Christopher Schultz
>>>>>>>>> I just use the below command to check >>>>>>>>>>>>>>> for open file descriptors: >>>>>>>>>>>>>>> >>>>>>>>>>>&

Re: broken pipe error keeps increasing open files

2020-06-25 Thread Ayub Khan
gt;>>>>>> >> >>>>>>>>>> Or you could use the tool lsof to find the open >> >>>>>>>>>> file descriptors. >> >>>>>>>>>> >> >>>>>>>>>> $ lsof

Re: broken pipe error keeps increasing open files

2020-06-24 Thread Ayub Khan
gt;>>>>>>>>> of the tomcat user or use sudo as in your > >>>>>>>>>> example. > >>>>>>>>>> > >>>>>>>>>> Felix > >>>>>>>>>> > >>>>&

Re: broken pipe error keeps increasing open files

2020-06-24 Thread Christopher Schultz
>>>> Schultz < ch...@christopherschultz.net> wrote: >>>>>>>>>>> >>>>>>>>>>> Ayub, >>>>>>>>>>> >>>>>>>>>>> On 6/20/20 11:51, Ayub Khan wrote: >>

Re: broken pipe error keeps increasing open files

2020-06-24 Thread Ayub Khan
>>>>>>>>>>> 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 > >>>>&

Re: broken pipe error keeps increasing open files

2020-06-24 Thread Christopher Schultz
mmand to check the file >>>>>>>>>>> descriptors: >>>>>>>>>>> >>>>>>>>>>> watch "sudo ls /proc/`cat >>>>>>>>>>> /var/run/tomcat8.pid`/fd/ | wc -l" >>>>>>

Re: broken pipe error keeps increasing open files

2020-06-23 Thread Ayub Khan
he disk. > >>>>> > >>>>> Are you using a database connection pool? If not, you > >>>>> should really use one and limit the number of connections > >>>>> to some

Re: broken pipe error keeps increasing open files

2020-06-23 Thread Christopher Schultz
itoring >>>>> it to see how many connections are actually being used? Are >>>>> you sure you are using proper resource management[1]? Even >>>>> a single code-path that leaks connections can leak them >>>>> quickly under load. >>

Re: broken pipe error keeps increasing open files

2020-06-23 Thread Ayub Khan
should I install > >>>>>> ? > >>> Tomcat 8.0.x hasn't been supported since its last release on 29 June > >>> 2018. That was 8.0.53. Your release is from 8

Re: broken pipe error keeps increasing open files

2020-06-22 Thread Christopher Schultz
;> ch...@christopherschultz.net> wrote: >>>> >>>> Ayub, >>>> >>>> On 6/19/20 16:46, Ayub Khan wrote: >>>>>>> tomcat 8.5 broken pipe increases open files on ubuntu >>>>>>> AWS >>>> >>>&

Re: broken pipe error keeps increasing open files

2020-06-22 Thread Felix Schumacher
ch version of tomcat should I install >>>>>> ? >>> Tomcat 8.0.x hasn't been supported since its last release on 29 June >>> 2018. That was 8.0.53. Your release is from 8 February 2016 and is >>> dangerously out of date (unless you are using the Ubu

Re: broken pipe error keeps increasing open files

2020-06-22 Thread Ayub Khan
> > > > -chris > > > > >>> On Sat, Jun 20, 2020 at 6:28 PM Christopher Schultz < > > >>> ch...@christopherschultz.net> wrote: > > >>> > > >>> Ayub, > > >>> > > >>> On 6/19/20 16:4

Re: broken pipe error keeps increasing open files

2020-06-22 Thread Felix Schumacher
gt; >>> > >>> 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 > >>> la

Re: broken pipe error keeps increasing open files

2020-06-22 Thread Ayub Khan
t; wrote: > > > > 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 upgr

Re: broken pipe error keeps increasing open files

2020-06-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Calder, On 6/20/20 13:24, calder wrote: > On Fri, Jun 19, 2020, 15:46 Ayub Khan 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 fo

Re: broken pipe error keeps increasing open files

2020-06-21 Thread Christopher Schultz
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 A

Re: broken pipe error keeps increasing open files

2020-06-20 Thread Ayub Khan
Calden, we are not using dbcp for this project. Also even if this error is thrown why does the file descriptor keep increasing? On Sat, Jun 20, 2020 at 8:24 PM calder wrote: > On Fri, Jun 19, 2020, 15:46 Ayub Khan wrote: > > > tomcat 8.5 broken pipe increases open files on ubuntu AWS > > > >

Re: broken pipe error keeps increasing open files

2020-06-20 Thread calder
On Fri, Jun 19, 2020, 15:46 Ayub Khan 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

Re: broken pipe error keeps increasing open files

2020-06-20 Thread Ayub Khan
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? > &

Re: broken pipe error keeps increasing open files

2020-06-20 Thread Christopher Schultz
ow 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 f

broken pipe error keeps increasing open files

2020-06-19 Thread Ayub Khan
pipe error is thrown ? org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:393) at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:426) at

Re: tomcat8/java8 "broken pipe" error

2018-06-05 Thread Suvendu Sekhar Mondal
On Tue, Jun 5, 2018, 8:34 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Holly, > > On 6/5/18 7:23 AM, Lund, Holly (CONTR) wrote: > > > > Continuously receiving the below error after upgrade to Tomcat > > 8.0.43 /java 1.8.0_162

Re: tomcat8/java8 "broken pipe" error

2018-06-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Holly, On 6/5/18 7:23 AM, Lund, Holly (CONTR) wrote: > > Continuously receiving the below error after upgrade to Tomcat > 8.0.43 /java 1.8.0_162/Apache 2.4.25 from tomcat6/java6/apache2.2 > on solaris 10 OS > > This only happens under load > > >

tomcat8/java8 "broken pipe" error

2018-06-05 Thread Lund, Holly (CONTR)
Continuously receiving the below error after upgrade to Tomcat 8.0.43 /java 1.8.0_162/Apache 2.4.25 from tomcat6/java6/apache2.2 on solaris 10 OS This only happens under load 29-May-2018 11:30:22.677 WARNING [commons-pool-EvictionTimer] org.apache.tomcat.dbcp.dbcp2.SwallowedExceptionLogger

Broken pipe error

2005-12-12 Thread Mª Carmen Gómez Romero
Hi, I have this message in tomcat log. Why do I have this message?What is the meaning? Thank you. 02-dic-2005 12:46:33 org.apache.jk.server.JkCoyoteHandler action GRAVE: Error in action code java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at j