20 um 11:41 schrieb Ayub Khan:
> >>>>>>>>>>>>>>> Chris,
> >>>>>>>>>>>>>>>
> >>>>>>>>>>>>>>> I am using HikariCP for connection
> >>>>>>&g
>>>>>>>>>> pooling. If the database is leaking
>>>>>>>>>>>>>>> connections then I should see
>>>>>>>>>>>>>>> connection not available exception.
>>>>>>>>>>>&
>> >>>>>>>>>>>
>> >>>>>>>>>>> watch "sudo ls /proc/`cat
>> >>>>>>>>>>> /var/run/tomcat8.pid`/fd/ | wc -l"
>> >>>>>>>>>> You could have a look at the name o
t;>>>>>>
> >>>>>>>>>> $ ls -l /proc/$(cat /var/run/tomcat8.pid)/fd/
> >>>>>>>>>>
> >>>>>>>>>> Or you could use the tool lsof to find the open
> >>>>>>>>>>
>>>>>>
>>>>>>>>>> For both calls you should first change to the uid
>>>>>>>>>> of the tomcat user or use sudo as in your
>>>>>>>>>> example.
>>>>>>>>>>
>>>&g
>>> < ch...@christopherschultz.net> wrote:
> >>>>>>>>
> >>>>>>>> Ayub,
> >>>>>>>>
> >>>>>>>> On 6/20/20 11:51, Ayub Khan wrote:
> >>>>>>>>>>> Sorry we are using
t;>>>> 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-
.pid`/fd/ |
> >>>>>>>> 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?
> >>
es are
>>>>> 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
>>>>>
sane. If you
> >>> 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 un
elease is from 8 February 2016
> 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 <
>>>
that leaks 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 balancer.> Whi
sue 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
> > >>> ?
> >
> > Tomcat 8.0.x hasn't been suppor
WS load 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-pack
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.net&g
-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
rs).
- -chris
> 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
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
[ sn
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 sl
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 from
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
wallowedExceptionLogger.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: IO Er
.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
send 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.F
h 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.FileDispatcherImpl.write0(Native Method) ~[?:1.8.0_101]
at sun.nio.ch.SocketDispatcher.
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]
at
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
It has been 10 days so I am declaring that Jason's suggestion did indeed
solve the problem.
Thanks Jason.
- Original Message -
From: "Steve Ryder"
To: "Tomcat Users List"
Sent: Thursday, October 07, 2010 10:03 AM
Subject: Re: Tomcat5.5 MySQL14.12 java.net.Soc
Thanks Jason. I have added the two parameters. Hopefully I will have seen
the last of this error.
- Original Message -
From: "Jason Britton"
To: "Tomcat Users List"
Sent: Wednesday, October 06, 2010 11:57 PM
Subject: Re: Tomcat5.5 MySQL14.12 java.net.SocketEx
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
Jaso
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 t
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\conf>net stop tomcat6
Systemfehler 109 aufgetreten.
Try with commons-daemon-1.0.2
See the 'Tomcat 6.0.12 in wind
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\conf>net stop tomcat6
Systemfehler 109 aufgetreten.
Die Pipe wurde beendet.
C:\Programme\Apache_Group\Tomcat_6.0\conf>net start tomcat6
Apache Tomcat 6 wird gestar
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 chan
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 logi
> 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 l
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
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
at
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)
at
> 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 testin
-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, no
t: 28 May 2008 10:56
To: Tomcat Users List
Subject: Re: Broken pipe errors
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 insta
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
-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 af
Users List
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 anyon
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 with
? 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
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
)
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 som
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
ng around with an error like 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: Bro
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
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
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
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
> ans
"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
b
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
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 seen
;
> Folks;
>
> still messing around with an error like 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
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) at
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
exception: Broken pipe
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:333)
at
TED]>
18/10/2006 19:27
Favor responder a
"Tomcat Users List"
Para
Tomcat Users List
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
> br
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 t
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
-
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
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
rders per day w/o worries.
I just wanted to know why a simple
ab -n2 -c2 http://q16.hq.martin.de/
makes a lot of noise (well one entry in this case) in my catalina.out
18.10.2006 20:17:37 org.apache.jk.core.MsgContext action
WARNUNG: Error sending end packet
java.net.SocketException: Broken
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 vario
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
e two
following 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.
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
78 matches
Mail list logo