You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Geeta Singh <ge...@bhelhwr.co.in> on 2002/09/12 07:24:27 UTC

broken pipe and outof memory error

Hello,
Following error occurs when a JSP program accesed by number users, this 
program access information from database though JDBC. Sometime it works 
fine but when the no. of users accessing it increases , the tomcat server crash 
with broken pipe or outofmemory error. We had increased the memory 
also using 
-Xms32m -Xmx256m
But still we are facing the same problem.

Error is as following:

2002-09-09 09:28:21 - /vtr: Broken pipe in R( /vtr + /jsp/checkin.jsp + null)
 - java.io.IOException: Broken pipe
	at java.net.SocketOutputStream.socketWrite(Native Method)
	at java.net.SocketOutputStream.socketWrite(Compiled Code)
	at java.net.SocketOutputStream.write(Compiled Code)
	at org.apache.tomcat.modules.server.Http10.sendHeaders(Compiled Code)
	at org.apache.tomcat.modules.server.HttpResponse.endHeaders(Compiled Code)
	at org.apache.tomcat.core.OutputBuffer.realWriteBytes(Compiled Code)
	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(Compiled Code)
	at org.apache.tomcat.core.OutputBuffer.flush(Compiled Code)
	at org.apache.tomcat.core.OutputBuffer.close(Compiled Code)
	at org.apache.tomcat.core.Response.finish(Compiled Code)
	at org.apache.tomcat.core.ContextManager.service(Compiled Code)
	at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Compiled Code)
	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Compiled Code)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Compiled Code)
	at java.lang.Thread.run(Thread.java:485)

2002-09-09 09:30:06 - /vtr: Broken pipe in R( /vtr + /appl/Qual/jsp/reports.jsp + null) - java.io.IOException: Broken pipe
	at java.net.SocketOutputStream.socketWrite(Native Method)
	at java.net.SocketOutputStream.socketWrite(Compiled Code)
	at java.net.SocketOutputStream.write(Compiled Code)
	at org.apache.tomcat.modules.server.Http10.sendHeaders(Compiled Code)
	at org.apache.tomcat.modules.server.HttpResponse.endHeaders(Compiled Code)
	at org.apache.tomcat.core.OutputBuffer.realWriteBytes(Compiled Code)
	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(Compiled Code)
	at org.apache.tomcat.core.OutputBuffer.flush(Compiled Code)
	at org.apache.tomcat.core.OutputBuffer.close(Compiled Code)
	at org.apache.tomcat.core.Response.finish(Compiled Code)
	at org.apache.tomcat.core.ContextManager.service(Compiled Code)
	at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Compiled Code)
	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Compiled Code)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Compiled Code)
	at java.lang.Thread.run(Thread.java:485)

2002-09-09 10:33:44 - /vtr: Status code:404 request:R( /vtr + /appl/Qual/qtop.html + null) msg:null
2002-09-09 10:33:44 - /vtr: Status code:404 request:R( /vtr + /appl/Qual/qbot.html + null) msg:null
2002-09-09 10:33:59 - /vtr: Exception in R( /vtr + /appl/TurnOver/edata.jsp + null)
 - java.lang.OutOfMemoryError
 
Thanks in advance,

-Geeta Singh




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>