gt;>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> How do I find out which file
> >>>>>>>>>>>>>>> descriptors are leaking ? these are
> >>>>>>>>>>>>>>&g
>>>>>>>>> I just use the below command to check
>>>>>>>>>>>>>>> for open file descriptors:
>>>>>>>>>>>>>>>
>>>>>>>>>>>&
gt;>>>>>>
>> >>>>>>>>>> Or you could use the tool lsof to find the open
>> >>>>>>>>>> file descriptors.
>> >>>>>>>>>>
>> >>>>>>>>>> $ lsof
gt;>>>>>>>>> of the tomcat user or use sudo as in your
> >>>>>>>>>> example.
> >>>>>>>>>>
> >>>>>>>>>> Felix
> >>>>>>>>>>
> >>>>&
>>>> Schultz < ch...@christopherschultz.net> wrote:
>>>>>>>>>>>
>>>>>>>>>>> Ayub,
>>>>>>>>>>>
>>>>>>>>>>> On 6/20/20 11:51, Ayub Khan wrote:
>>
>>>>>>>>>>> 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
> >>>>&
mmand to check the file
>>>>>>>>>>> descriptors:
>>>>>>>>>>>
>>>>>>>>>>> watch "sudo ls /proc/`cat
>>>>>>>>>>> /var/run/tomcat8.pid`/fd/ | wc -l"
>>>>>>
he disk.
> >>>>>
> >>>>> Are you using a database connection pool? If not, you
> >>>>> should really use one and limit the number of connections
> >>>>> to some
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.
>>
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
;> 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
>>>>
>>>&
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
> >
> > -chris
> >
> > >>> On Sat, Jun 20, 2020 at 6:28 PM Christopher Schultz <
> > >>> ch...@christopherschultz.net> wrote:
> > >>>
> > >>> Ayub,
> > >>>
> > >>> On 6/19/20 16:4
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
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
-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
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
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
> >
>
>
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
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?
>
&
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
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
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
-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
>
>
>
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
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
26 matches
Mail list logo