tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 43002] - NIO connector performance issue in 6.0.13
Date Thu, 02 Aug 2007 18:53:34 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43002>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43002





------- Additional Comments From guy.molinari@dig.com  2007-08-02 11:53 -------
I've added a simple JSP page to help work the issue.  

The Grinder load test scripts are now separate attachments.

The JSP page is pretty simplistic and I had to push the server hard.   It 
appears that the Content-Length header does not match the response buffer size.

During one of the test runs I got the following exeception in the system logs, 
although it seemed to be an isolated occurance.

===========================================================================
2007-08-01 17:09:20,364 [http-8080-exec-9] ERROR 
org.apache.catalina.connector.CoyoteAdapter - An exception or error occurred in 
the container during the request processing
java.nio.BufferOverflowException
	at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:311)
	at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:290)
	at sun.nio.ch.IOUtil.write(IOUtil.java:70)
	at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
	at org.apache.tomcat.util.net.NioChannel.write(NioChannel.java:111)
	at org.apache.tomcat.util.net.NioBlockingSelector.write
(NioBlockingSelector.java:57)
	at org.apache.tomcat.util.net.NioSelectorPool.write
(NioSelectorPool.java:135)
	at org.apache.tomcat.util.net.NioSelectorPool.write
(NioSelectorPool.java:130)
	at org.apache.coyote.http11.InternalNioOutputBuffer.writeToSocket
(InternalNioOutputBuffer.java:433)
	at org.apache.coyote.http11.InternalNioOutputBuffer.flushBuffer
(InternalNioOutputBuffer.java:761)
	at org.apache.coyote.http11.InternalNioOutputBuffer.endRequest
(InternalNioOutputBuffer.java:398)
	at org.apache.coyote.http11.Http11NioProcessor.action
(Http11NioProcessor.java:1089)
	at org.apache.coyote.Response.action(Response.java:183)
	at org.apache.coyote.Response.finish(Response.java:305)
	at org.apache.catalina.connector.OutputBuffer.close
(OutputBuffer.java:276)
	at org.apache.catalina.connector.Response.finishResponse
(Response.java:486)
	at org.apache.catalina.connector.CoyoteAdapter.service
(CoyoteAdapter.java:285)
	at org.apache.coyote.http11.Http11NioProcessor.process
(Http11NioProcessor.java:896)
	at 
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process
(Http11NioProtocol.java:705)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run
(NioEndpoint.java:2049)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask
(ThreadPoolExecutor.java:885)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:907)
	at java.lang.Thread.run(Thread.java:619)
2007-08-01 17:09:56,255 [http-8080-exec-11] ERROR 
org.apache.catalina.connector.CoyoteAdapter - An exception or error occurred in 
the container during the request processing
java.nio.BufferOverflowException
	at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:311)
	at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:290)
	at sun.nio.ch.IOUtil.write(IOUtil.java:70)
	at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
	at org.apache.tomcat.util.net.NioChannel.write(NioChannel.java:111)
	at org.apache.tomcat.util.net.NioBlockingSelector.write
(NioBlockingSelector.java:57)
	at org.apache.tomcat.util.net.NioSelectorPool.write
(NioSelectorPool.java:135)
	at org.apache.tomcat.util.net.NioSelectorPool.write
(NioSelectorPool.java:130)
	at org.apache.coyote.http11.InternalNioOutputBuffer.writeToSocket
(InternalNioOutputBuffer.java:433)
	at org.apache.coyote.http11.InternalNioOutputBuffer.flushBuffer
(InternalNioOutputBuffer.java:761)
	at org.apache.coyote.http11.InternalNioOutputBuffer.endRequest
(InternalNioOutputBuffer.java:398)
	at org.apache.coyote.http11.Http11NioProcessor.action
(Http11NioProcessor.java:1089)
	at org.apache.coyote.Response.action(Response.java:183)
	at org.apache.coyote.Response.finish(Response.java:305)
	at org.apache.catalina.connector.OutputBuffer.close
(OutputBuffer.java:276)
	at org.apache.catalina.connector.Response.finishResponse
(Response.java:486)
	at org.apache.catalina.connector.CoyoteAdapter.service
(CoyoteAdapter.java:285)
	at org.apache.coyote.http11.Http11NioProcessor.process
(Http11NioProcessor.java:896)
	at 
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process
(Http11NioProtocol.java:705)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run
(NioEndpoint.java:2049)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask
(ThreadPoolExecutor.java:885)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:907)
	at java.lang.Thread.run(Thread.java:619)


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message