users@grizzly.java.net

exception when stress test

From: Ken--_at_newsgroupstats.hk <dragonken_at_gmail.com>
Date: Mon, 30 Nov 2009 18:49:30 -0800 (PST)

Hi,

We are performing stress test for our server (build on grizzly 2.0 M3), we
got the following exception when we increase the send rate to 16M bit/s:

Any idea?

Regards,
Ken


2009年12月1日 上午09:55:22 com.sun.grizzly.ProcessorRunnable logException
警告: Processor execution exception. Processor:
com.sun.grizzly.nio.transport.TCPNIOAsyncQueueWriter_at_17e9fe8 Context:
com.sun.grizzly.Context_at_4eefb4
java.lang.IllegalArgumentException
        at java.nio.Buffer.position(Buffer.java:218)
        at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:291)
        at sun.nio.ch.IOUtil.write(IOUtil.java:70)
        at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
        at
com.sun.grizzly.nio.transport.TCPNIOTransport.write(TCPNIOTransport.java:784)
        at
com.sun.grizzly.nio.transport.TCPNIOAsyncQueueWriter.write0(TCPNIOAsyncQueueWriter.java:89)
        at
com.sun.grizzly.nio.AbstractNIOAsyncQueueWriter.doWrite(AbstractNIOAsyncQueueWriter.java:385)
        at
com.sun.grizzly.nio.AbstractNIOAsyncQueueWriter.processAsync(AbstractNIOAsyncQueueWriter.java:256)
        at
com.sun.grizzly.nio.AbstractNIOAsyncQueueWriter.process(AbstractNIOAsyncQueueWriter.java:354)
        at com.sun.grizzly.ProcessorRunnable.run(ProcessorRunnable.java:232)
        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
-- 
View this message in context: http://old.nabble.com/exception-when-stress-test-tp26585715p26585715.html
Sent from the Grizzly - Users mailing list archive at Nabble.com.