axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Pradhan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AXIS2-5633) tomcat hangs after 24 hours or so on java.net.SocketOutputStream.socketWrite0
Date Sun, 02 Mar 2014 18:53:31 GMT
Sam Pradhan created AXIS2-5633:
----------------------------------

             Summary: tomcat hangs after 24 hours or so on java.net.SocketOutputStream.socketWrite0
                 Key: AXIS2-5633
                 URL: https://issues.apache.org/jira/browse/AXIS2-5633
             Project: Axis2
          Issue Type: Bug
    Affects Versions: 1.6.2
         Environment: Server version: Apache Tomcat/6.0.24
Server built:   September 11 2013 1238
Server number:  6.0.24.0
OS Name:        Linux
OS Version:     2.6.32-431.5.1.el6.x86_64
Architecture:   amd64
JVM Version:    1.6.0_30-b30
JVM Vendor:     Sun Microsystems Inc.
            Reporter: Sam Pradhan


The client calls /axis2/services/EstimatedTaxService?wsdl every 30 seconds and tomcat handles
the requests without any issue. After 24 hours or so, following thread stays in RUNNABLE state.
Then other threads get locked, and after 200 threads are locked, tomcat does not respond.
 Then restart of tomcat is the only option.

"http-8080-2" daemon prio=10 tid=0x00007f7a34003000 nid=0x4489 runnable [0x00007f7ab7938000]
   java.lang.Thread.State: RUNNABLE
	at java.net.SocketOutputStream.socketWrite0(Native Method)
	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
	at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
	at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:741)
	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)
	at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:349)
	at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:765)
	at org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(IdentityOutputFilter.java:127)
	at org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:574)
	at org.apache.coyote.Response.doWrite(Response.java:560)
	at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:353)
	at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:325)
	at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:381)
	at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:370)
	at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:89)
	at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
	at sun.nio.cs.StreamEncoder.implWrite(StreamEncoder.java:282)
	at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:125)
	- locked <0x00000007ad15c148> (a java.io.OutputStreamWriter)
	at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:135)
	at java.io.OutputStreamWriter.write(OutputStreamWriter.java:220)
	at java.io.PrintWriter.write(PrintWriter.java:456)
	- locked <0x00000007ad15c148> (a java.io.OutputStreamWriter)
	at java.io.PrintWriter.write(PrintWriter.java:456)
	- locked <0x00000007ad15e228> (a java.io.PrintWriter)
	at java.io.PrintWriter.write(PrintWriter.java:473)
	at java.io.PrintWriter.print(PrintWriter.java:603)
	at com.ibm.wsdl.util.xml.DOM2Writer.print(Unknown Source)
	at com.ibm.wsdl.util.xml.DOM2Writer.print(Unknown Source)
	at com.ibm.wsdl.util.xml.DOM2Writer.print(Unknown Source)
	at com.ibm.wsdl.util.xml.DOM2Writer.print(Unknown Source)
	at com.ibm.wsdl.util.xml.DOM2Writer.serializeAsXML(Unknown Source)
	at com.ibm.wsdl.extensions.schema.SchemaSerializer.marshall(Unknown Source)
	at com.ibm.wsdl.xml.WSDLWriterImpl.printExtensibilityElements(Unknown Source)
	at com.ibm.wsdl.xml.WSDLWriterImpl.printTypes(Unknown Source)
	at com.ibm.wsdl.xml.WSDLWriterImpl.printDefinition(Unknown Source)
	at com.ibm.wsdl.xml.WSDLWriterImpl.writeWSDL(Unknown Source)
	at com.ibm.wsdl.xml.WSDLWriterImpl.writeWSDL(Unknown Source)
	at org.apache.axis2.description.AxisService.printDefinitionObject(AxisService.java:1085)
	- locked <0x00000007071a7d70> (a org.apache.axis2.description.AxisService)
	at org.apache.axis2.description.AxisService.printUserWSDL(AxisService.java:1112)
	at org.apache.axis2.description.AxisService.printWSDL(AxisService.java:1386)
	at org.apache.axis2.transport.http.ListingAgent.handleWSDLRequest(ListingAgent.java:327)
	at org.apache.axis2.transport.http.ListingAgent.processListService(ListingAgent.java:183)
	at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:260)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
	at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:600)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
	at java.lang.Thread.run(Thread.java:724)





--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message