t;>>>>>>>>>>> Chris,
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> I am using HikariCP for connection
> >>>>>>>>>>>>>>> pooling. If the
If the database is leaking
>>>>>>>>>>>>>>> connections then I should see
>>>>>>>>>>>>>>> connection not available exception.
>>>>>>>>>>>>>>>
>>>>>>>>&g
>>>>>>
>> >>>>>>>>>>> watch "sudo ls /proc/`cat
>> >>>>>>>>>>> /var/run/tomcat8.pid`/fd/ | wc -l"
>> >>>>>>>>>> You could have a look at the name of the files in
>> >&g
;
> >>>>>>>>>> $ ls -l /proc/$(cat /var/run/tomcat8.pid)/fd/
> >>>>>>>>>>
> >>>>>>>>>> Or you could use the tool lsof to find the open
> >>>>>>>>>> file descriptors.
>
>>>>>>>>>> For both calls you should first change to the uid
>>>>>>>>>> of the tomcat user or use sudo as in your
>>>>>>>>>> example.
>>>>>>>>>>
>>>>>>>>>>
hristopherschultz.net> wrote:
> >>>>>>>>
> >>>>>>>> Ayub,
> >>>>>>>>
> >>>>>>>> On 6/20/20 11:51, Ayub Khan wrote:
> >>>>>>>>>>> Sorry we are using 8.0.32 version of tomca
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
; >>>>>>>> wc -l"
> >>>>> So you know there is some kind of increase in file-handle
> >>>>> use, but you don't know what types of file handles are
> >>>>> increasing, right?
> >>>>>
> &g
;>>>> increasing, right?
>>>>>
>>>>> Can you try to find out which kinds of file handles are
>>>>> increasing?
>>>>>
>>>>> I have a sneaking suspicion that it's your database
>>>>> connections a
ou
> >>> are using one, are you monitoring 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 lo
> and is dangerously out of date (unless you are using the
> Ubuntu-packaged version, in which case I hope they kept-up with
> security patches thee past 4 years).
>
> -chris
>
>>>> On Sat, Jun 20, 2020 at 6:28 PM Christopher Schultz <
>>>> ch...@christopherschultz
s connections can leak
>>> them quickly under load.
>>>
>>>>>> 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 balanc
d 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
> > >>> ?
> >
> > Tomcat 8.0.x hasn't been supported since it
ad balancer.> Which 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 Ubuntu-packaged
> versi
ngerously out of date (unless you are using the Ubuntu-packaged
> version, in which case I hope they kept-up with security patches thee
> past 4 years).
>
> - -chris
>
> > On Sat, Jun 20, 2020 at 6:28 PM Christopher Schultz <
> > ch...@christopherschultz.net> wrote:
>
-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
> On Sat, Jun 20, 2020 at 6:28 PM 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
>
> Which exact version of Tomcat 8.5? If you aren't runn
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 o
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
[
e 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:
> &g
-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 re
tomcat 8.5 broken pipe increases open files on ubuntu AWS
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
long as the
>>> browser is connected (using SSE).
>>> After the browser disconnects and data is written to the response
>>> internally a "IOException: Broken Pipe" is thrown, which itself is not
>>> logged, but there is some error from the sta
browser disconnects and data is written to the response
> >internally a "IOException: Broken Pipe" is thrown, which itself is not
> >logged, but there is some error from the state handling logged (see
> >below) which is quite noisy. Is there somehow to prevent this fr
On October 20, 2019 9:43:00 AM UTC, Johannes Edmeier
wrote:
>Hi folks,
>
>I have a async response which is designed to run as long as the
>browser is connected (using SSE).
>After the browser disconnects and data is written to the response
>internally a "IOException:
Hi folks,
I have a async response which is designed to run as long as the
browser is connected (using SSE).
After the browser disconnects and data is written to the response
internally a "IOException: Broken Pipe" is thrown, which itself is not
logged, but there is some error from
2.SwallowedExceptionLogger.onSwallowE
> > xception An internal object pool swallowed an Exception.
> > java.sql.SQLRecoverableException: IO Error: Broken pipe (Write
> > failed) at
> > oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:682) at
> > oracle.jdbc.driver.Phy
happens under load
>
>
> 29-May-2018 11:30:22.677 WARNING [commons-pool-EvictionTimer]
> org.apache.tomcat.dbcp.dbcp2.SwallowedExceptionLogger.onSwallowE
> xception An internal object pool swallowed an Exception.
> java.sql.SQLRecoverableException: I
.SwallowedExceptionLogger.onSwallowE
xception An internal object pool swallowed an Exception.
java.sql.SQLRecoverableException: IO Error: Broken pipe (Write failed)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:682)
at
oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:711
some data on an SSE channel
>> which has just been closed on the client side, even though this
>> exception is catched and handled in my SSE servlet, I see this
>> exception in the webapp log:
>>
>> java.io.IOException: Broken pipe
>> at sun.nio.ch.FileDi
just been closed on the client side, even though this
exception is catched and handled in my SSE servlet, I see this
exception in the webapp log:
java.io.IOException: Broken pipe
at sun.nio.ch.FileDispatcherImpl.write0(Native Method) ~[?:1.8.0_101]
at sun.nio.ch.SocketDispatcher.write
is
catched and handled in my SSE servlet, I see this exception in the
webapp log:
java.io.IOException: Broken pipe
at sun.nio.ch.FileDispatcherImpl.write0(Native Method) ~[?:1.8.0_101]
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
~[?:1.8.0_101
Hi,
any help with regards to the following issue is highly appreciated.
http://stackoverflow.com/questions/36929016/java-io-ioexception-broken-pipe-within-an-apache-tomcat-valve
java.net.SocketException: Broken pipe
Thanks Jason. I have added the two parameters. Hopefully I will have
seen the last of this error.
- Original Message -
From: Jason Britton jbritto...@gmail.com
To: Tomcat Users List users@tomcat.apache.org
Sent: Wednesday, October 06, 2010 11:57
java.net.SocketException: Broken pipe
To your mysql Resource definition below I would add
validationQuery=SELECT 1
That should prevent your application from getting handed stale db
connections from your pool. Take a look at the testOnBorrow and
validationQuery definitions here
http
I am getting this during mysql connection (about once a week).
I have read the thread on MySQL forum, which has a solution, but the link
to the solution is broken and points back to the same page.
Suggestions have been use autoconnect=true
Another was that the server timeout was shorter than
To your mysql Resource definition below I would add
validationQuery=SELECT 1
That should prevent your application from getting handed stale db
connections from your pool. Take a look at the testOnBorrow and
validationQuery definitions here
http://commons.apache.org/dbcp/configuration.html
Jason
When I stop tomcat (6.0.24) manually from the command line by
net stop tomcat6
I'm getting:
C:\Programme\Apache_Group\Tomcat_6.0\confnet stop tomcat6
Systemfehler 109 aufgetreten.
Die Pipe wurde beendet.
C:\Programme\Apache_Group\Tomcat_6.0\confnet start tomcat6
Apache Tomcat 6 wird
On 02/26/2010 01:04 PM, Christoph Kukulies wrote:
When I stop tomcat (6.0.24) manually from the command line by
net stop tomcat6
I'm getting:
C:\Programme\Apache_Group\Tomcat_6.0\confnet stop tomcat6
Systemfehler 109 aufgetreten.
Try with commons-daemon-1.0.2
See the 'Tomcat 6.0.12 in
: Sehyia Jalaludheen [mailto:[EMAIL PROTECTED]
Subject: [error] (32)Broken pipe: ajp_ilink_send(): send failed
This happens only when I am logging into the application
after a few days inactivity. Login fails in the first three
or four attempts and then the login is successful.
Any chance the target
Hi,
I am getting the following error messages when I login to a web application
which uses AJP Connector between Tomcat and Apache.
httpd-error log:
[error] (32)Broken pipe: ajp_ilink_send(): send failed
Page shows
Service Temporarily Unavailable
The server is temporarily unable to service
From: Sehyia Jalaludheen [mailto:[EMAIL PROTECTED]
Subject: [error] (32)Broken pipe: ajp_ilink_send(): send failed
This happens only when I am logging into the application
after a few days inactivity. Login fails in the first three
or four attempts and then the login is successful.
Any
:[EMAIL PROTECTED]
Subject: [error] (32)Broken pipe: ajp_ilink_send(): send failed
This happens only when I am logging into the application
after a few days inactivity. Login fails in the first three
or four attempts and then the login is successful.
Any chance the target system has gone
org.apache.jk.core.MsgContext action
WARNING: Error sending end packet
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136
over and over... What can cause it?
Jun 26, 2008 10:28:24 AM org.apache.jk.common.ChannelSocket
processConnection
WARNING: processCallbacks status 2
Jun 26, 2008 10:28:59 AM org.apache.jk.core.MsgContext action
WARNING: Error sending end packet
java.net.SocketException: Broken pipe
That's good. Many of the reports I've seen on this list have been people
moving up to Tomcat 6 and experiencing /more/ memory problems --
indicating that TC6 uses a bit more memory. I'm glad you are having the
opposite experience.
I haven't used 5.x but 6.0.14 does seem (I'm still testing)
that another server has sent to it. Which rarely takes more
than a few seconds each and no more than 2 at a time.
Cheers
James
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Savory
Sent: 28 May 2008 10:56
To: Tomcat Users List
Subject: Re: Broken pipe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
James,
James Law wrote:
| Thanks Andrew Chris Currently testing in 6.0.14 and the memory
| usage seems a lot more stable (probably a placebo affect). In 6.0.16
| both the young/old generation heap usage would increase to 99.xx% and
| stay there,
Hi James,
2008/5/22 James Law [EMAIL PROTECTED]:
Can anyone help with the below error? We have just changed from a FC8
box with the default install (Test Box) to a FC8 box with a more
stripped down install (both the same machines)
With the stripped down install we now get the following
Subject: Re: Broken pipe errors
Broken pipe can also happen when faulty network hardware or sensitive
firewalls drop the connection.
--David
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
James,
James Law wrote:
| Can anyone help with the below error? We have
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
James,
James Law wrote:
| The Java VM is sat with 94-95% of the
| available RAM (out of 8gb) and the Swap grew to 64% (out of 2gb) over
| the time tomcat was running.
400MB should be plenty for your OS to run.
| Forcing a GC has none/very little
)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Caused by: ClientAbortException: java.net.SocketException: Broken pipe
at
org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:319
? Broken pipe messages are occasionally
generated when users hit STOP on their browsers before the entire
response has been written to the output stream.
AFAIK, unless you find that something is actually not working, I think
you can safely ignore these messages.
- -chris
-BEGIN PGP SIGNATURE
Broken pipe can also happen when faulty network hardware or sensitive
firewalls drop the connection.
--David
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
James,
James Law wrote:
| Can anyone help with the below error? We have just changed from a FC8
| box
Frank;
first off, thanks a load for your reply, much appreciated.
[Frank W. Zammetti [EMAIL PROTECTED] @ Tue, 14 Aug 2007 11:02:42
-0400 (EDT)]
Have you noticed if this affects IE users and Firefox users equally?
I ask because there's a known issue (that I've never seen an actual
answer
system, we offer
customers a service to download files using a servlet. Some weeks ago
(more or less when I considered switching to tomcat 6.0), the following
error frequently started to show up in my log files:
...
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0
Ronald;
[Ronald Klop [EMAIL PROTECTED] @ Wed, 15 Aug 2007 09:56:59
+0200 (CEST)]
ClientAbortException means the user canceled the download (the
'client aborted'). There is nothing you can do about that on the
server.
I thought so. However, there are two things:
(a) I was unsure whether, in
Kristian Rink wrote:
Ronald;
[Ronald Klop [EMAIL PROTECTED] @ Wed, 15 Aug 2007 09:56:59
+0200 (CEST)]
ClientAbortException means the user canceled the download (the
'client aborted'). There is nothing you can do about that on the
server.
I thought so. However, there are two things:
(a) I
offer
customers a service to download files using a servlet. Some weeks ago
(more or less when I considered switching to tomcat 6.0), the following
error frequently started to show up in my log files:
...
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method
Kristian Rink wrote:
However, seriously this is a rather bad thing as I am convinced most of
our users to possibly make use of a default web browser on their
system, having no idea what a browser is, at all... On the other side,
having the file transmission terminated / corrupted surely isn't
Just as another tidbit in the pot, I get these errors frequently with
Websphere, both with and without a web server in front of it, and also
both with and without a proxy involved, so it's definitely not
Tomcat-specific, nor is it definitively anything involving a proxy
(although both could
:
...
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at
java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at
java.net.SocketOutputStream.write(SocketOutputStream.java:136) at
org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:537
this: In our system, we offer
customers a service to download files using a servlet. Some weeks ago
(more or less when I considered switching to tomcat 6.0), the following
error frequently started to show up in my log files:
...
java.net.SocketException: Broken pipe
Do I get the box, if I can write a servlet and describe a procedure by
which a Firefox user can produce the exception when calling my servlet?
Frank W. Zammetti wrote:
Have you noticed if this affects IE users and Firefox users equally? I
ask because there's a known issue (that I've never
When I used the phrase I'd bet a box of donuts, what I should have
written was ...and if I'm wrong, it won't be the first time
:)
Frank
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM/Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
Author of
Rainer Jung [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Do I get the box, if I can write a servlet and describe a procedure by
which a Firefox user can produce the exception when calling my servlet?
I think that something like (haven't actually tried it myself, mostly
because
Folks;
a few days ago, on one of our tomcat servers catalina.out started
filling up with messages like this:
25.07.2007 08:16:43 org.apache.jk.core.MsgContext action
WARNUNG: Error sending end packet
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native
=15
logAbandoned=true/
From time to time we get the following error on the logfile.
2006-11-16 08:13:43 JDBCRealm[/GRIP]: Exception performing authentication
java.sql.SQLException: Io exception: Broken pipe
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134
/10/2006 19:27
Favor responder a
Tomcat Users List users@tomcat.apache.org
Para
Tomcat Users List users@tomcat.apache.org
cc
Assunto
Re: mod_jk broken pipe
Hi Martin,
Martin Kautz schrieb:
Rainer,
Thank you, but I'd like to know a bit more. Is there a way to avoid
pipes get
broken
: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite
(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:
136)
at org.apache.jk.common.ChannelSocket.send
Broken pipe errors are something that we want to debug too. Our enviroment
is:
Tomcat 5.5.17,
apache 2.2.3
mod_proxy_ajp
Sometimes we have a broken pipe too. Under heavy load, it happens more
times, but our server keeps serving with no problems. Any ideas?
Rafael Sarres de Almeida
Seção de
The broken pipe error generally means, that the client (browser/ab)
closed the connection before tomcat finished sending it's response.
Most often this happens, when an answer takes longer, than users
expect/tolerate and the users pressed refresh, stop etc. Possibly also,
if you use a short
Rainer,
Thank you, but I'd like to know a bit more. Is there a way to avoid
pipes get
broken? Even if this issue does not affect the user's expirience I'd
like to get rid of that log file pollution.
I forgot to mention that the issue only applies to concurrent
requests from 'ab'.
Martin
Hi Martin,
Martin Kautz schrieb:
Rainer,
Thank you, but I'd like to know a bit more. Is there a way to avoid
pipes get
broken? Even if this issue does not affect the user's expirience I'd
like to get rid of that log file pollution.
I forgot to mention that the issue only applies to
log messages:
ClientAbortException: java.net.SocketException: Broken pipe
ClientAbortException: java.net.SocketException: Connection reset
Here is the servlet code that is being run when the exception occurs:
FileInputStream in = new FileInputStream(file);
OutputStream out = resp.getOutputStream
On 6/30/06, Garth Patil [EMAIL PROTECTED] wrote:
I'm trying to debug an application that serves small (20-100k) media
files of various types (.swf, .wmv) to Windows Media Player (primarily
versions 9, 10, 11). The problem I'm experiencing is that I'm seeing a
SocketException with about 50% of
Thanks Hassan.
Windows Media Player actually supports Flash files up to flash version 6.
Best,
Garth
On 6/30/06, Hassan Schroeder [EMAIL PROTECTED] wrote:
On 6/30/06, Garth Patil [EMAIL PROTECTED] wrote:
I'm trying to debug an application that serves small (20-100k) media
files of various
77 matches
Mail list logo