Re: broken pipe error keeps increasing open files

2020-06-25 Thread Ayub Khan
t;>>>>>>>>>>> Chris, > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> I am using HikariCP for connection > >>>>>>>>>>>>>>> pooling. If the

Re: broken pipe error keeps increasing open files

2020-06-25 Thread Christopher Schultz
If the database is leaking >>>>>>>>>>>>>>> connections then I should see >>>>>>>>>>>>>>> connection not available exception. >>>>>>>>>>>>>>> >>>>>>>>&g

Re: broken pipe error keeps increasing open files

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

Re: broken pipe error keeps increasing open files

2020-06-24 Thread Ayub Khan
; > >>>>>>>>>> $ ls -l /proc/$(cat /var/run/tomcat8.pid)/fd/ > >>>>>>>>>> > >>>>>>>>>> Or you could use the tool lsof to find the open > >>>>>>>>>> file descriptors. >

Re: broken pipe error keeps increasing open files

2020-06-24 Thread Christopher Schultz
>>>>>>>>>> For both calls you should first change to the uid >>>>>>>>>> of the tomcat user or use sudo as in your >>>>>>>>>> example. >>>>>>>>>> >>>>>>>>>>

Re: broken pipe error keeps increasing open files

2020-06-24 Thread Ayub Khan
hristopherschultz.net> wrote: > >>>>>>>> > >>>>>>>> Ayub, > >>>>>>>> > >>>>>>>> On 6/20/20 11:51, Ayub Khan wrote: > >>>>>>>>>>> Sorry we are using 8.0.32 version of tomca

Re: broken pipe error keeps increasing open files

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

Re: broken pipe error keeps increasing open files

2020-06-23 Thread Ayub Khan
; >>>>>>>> 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

Re: broken pipe error keeps increasing open files

2020-06-23 Thread Christopher Schultz
;>>>> 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

Re: broken pipe error keeps increasing open files

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

Re: broken pipe error keeps increasing open files

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

Re: broken pipe error keeps increasing open files

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

Re: broken pipe error keeps increasing open files

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

Re: broken pipe error keeps increasing open files

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

Re: broken pipe error keeps increasing open files

2020-06-22 Thread Ayub Khan
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: >

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

Re: broken pipe error keeps increasing open files

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

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 o

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 [

Re: broken pipe error keeps increasing open files

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

Re: broken pipe error keeps increasing open files

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

broken pipe error keeps increasing open files

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

Re: IOException: Broken Pipe causes "Calling [asyncError()] is not valid for a request with Async state [MUST_DISPATCH]" to be logged

2019-10-20 Thread Mark Thomas
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

Re: IOException: Broken Pipe causes "Calling [asyncError()] is not valid for a request with Async state [MUST_DISPATCH]" to be logged

2019-10-20 Thread Johannes Edmeier
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

Re: IOException: Broken Pipe causes "Calling [asyncError()] is not valid for a request with Async state [MUST_DISPATCH]" to be logged

2019-10-20 Thread Mark Thomas
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:

IOException: Broken Pipe causes "Calling [asyncError()] is not valid for a request with Async state [MUST_DISPATCH]" to be logged

2019-10-20 Thread Johannes Edmeier
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

Re: tomcat8/java8 "broken pipe" error

2018-06-05 Thread Suvendu Sekhar Mondal
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

Re: tomcat8/java8 "broken pipe" error

2018-06-05 Thread Christopher Schultz
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

tomcat8/java8 "broken pipe" error

2018-06-05 Thread Lund, Holly (CONTR)
.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

Re: Silencing broken pipe I/O exceptions

2018-04-23 Thread Mark Thomas
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

Re: Silencing broken pipe I/O exceptions

2018-04-21 Thread Claude Brisson
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

Silencing broken pipe I/O exceptions

2018-03-22 Thread Claude Brisson
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

java.io.IOException: Broken pipe within an Apache Tomcat valve

2016-04-28 Thread Chiranga Alwis
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

Re: Tomcat5.5 MySQL14.12 java.net.SocketException: Broken pipe

2010-10-18 Thread Steve Ryder
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

Re: Tomcat5.5 MySQL14.12 java.net.SocketException: Broken pipe

2010-10-07 Thread Steve Ryder
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

Tomcat5.5 MySQL14.12 java.net.SocketException: Broken pipe

2010-10-06 Thread Steve Ryder
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

Re: Tomcat5.5 MySQL14.12 java.net.SocketException: Broken pipe

2010-10-06 Thread Jason Britton
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

broken pipe system error 109 when stopping tomcat6 under windows XP

2010-02-26 Thread Christoph Kukulies
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

Re: broken pipe system error 109 when stopping tomcat6 under windows XP

2010-02-26 Thread Mladen Turk
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

Re: [error] (32)Broken pipe: ajp_ilink_send(): send failed

2008-10-07 Thread André Warnier
: 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

[error] (32)Broken pipe: ajp_ilink_send(): send failed

2008-10-06 Thread Sehyia Jalaludheen
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

RE: [error] (32)Broken pipe: ajp_ilink_send(): send failed

2008-10-06 Thread Caldarale, Charles R
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

Re: [error] (32)Broken pipe: ajp_ilink_send(): send failed

2008-10-06 Thread Sehyia Jalaludheen
:[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

java.net.SocketException: Broken pipe?

2008-06-26 Thread Milan Cvejic
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

Re: java.net.SocketException: Broken pipe?

2008-06-26 Thread Filip Hanik - Dev Lists
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

RE: Broken pipe errors

2008-05-30 Thread James Law
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)

RE: Broken pipe errors

2008-05-29 Thread James Law
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

Re: Broken pipe errors

2008-05-29 Thread Christopher Schultz
-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,

Re: Broken pipe errors

2008-05-28 Thread Andrew Savory
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

RE: Broken pipe errors

2008-05-23 Thread James Law
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

Re: Broken pipe errors

2008-05-23 Thread Christopher Schultz
-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

Broken pipe errors

2008-05-22 Thread James Law
) 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

Re: Broken pipe errors

2008-05-22 Thread Christopher Schultz
? 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

Re: Broken pipe errors

2008-05-22 Thread David Smith
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

Re: ClientAbortException / Broken Pipe?!

2007-08-15 Thread Kristian Rink
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

Re: ClientAbortException / Broken Pipe?!

2007-08-15 Thread Ronald Klop
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

Re: ClientAbortException / Broken Pipe?!

2007-08-15 Thread Kristian Rink
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

Re: ClientAbortException / Broken Pipe?!

2007-08-15 Thread Rainer Jung
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

Re: ClientAbortException / Broken Pipe?!

2007-08-15 Thread Frank W. Zammetti
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

Re: ClientAbortException / Broken Pipe?!

2007-08-15 Thread Frank W. Zammetti
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

Re: ClientAbortException / Broken Pipe?!

2007-08-15 Thread Frank W. Zammetti
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

ClientAbortException / Broken Pipe?!

2007-08-14 Thread Kristian Rink
: ... 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

Re: ClientAbortException / Broken Pipe?!

2007-08-14 Thread Frank W. Zammetti
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

Re: ClientAbortException / Broken Pipe?!

2007-08-14 Thread Rainer Jung
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

Re: ClientAbortException / Broken Pipe?!

2007-08-14 Thread Frank W. Zammetti
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

Re: ClientAbortException / Broken Pipe?!

2007-08-14 Thread Bill Barker
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

Broken Pipe?

2007-07-25 Thread Kristian Rink
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

Broken pipe on JDBCRealm

2006-11-16 Thread Leonhard Holzer
=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

Re: mod_jk broken pipe

2006-10-19 Thread Rafael . Almeida
/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

mod_jk broken pipe

2006-10-18 Thread Martin Kautz
: 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

Re: mod_jk broken pipe

2006-10-18 Thread Rafael . Almeida
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

Re: mod_jk broken pipe

2006-10-18 Thread Rainer Jung
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

Re: mod_jk broken pipe

2006-10-18 Thread Martin Kautz
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

Re: mod_jk broken pipe

2006-10-18 Thread Rainer Jung
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

Serving files to Windows Media Player -- ClientAbortException: java.net.SocketException: Broken pipe (or) Connection reset

2006-06-30 Thread Garth Patil
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

Re: Serving files to Windows Media Player -- ClientAbortException: java.net.SocketException: Broken pipe (or) Connection reset

2006-06-30 Thread Hassan Schroeder
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

Re: Serving files to Windows Media Player -- ClientAbortException: java.net.SocketException: Broken pipe (or) Connection reset

2006-06-30 Thread Garth Patil
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