exception when stress test

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

exception when stress test

dragonken
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@17e9fe8 Context: com.sun.grizzly.Context@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)
Reply | Threaded
Open this post in threaded view
|

Re: exception when stress test

Oleksiy Stashok
Hi Ken,

can you pls. provide some testcase to reproduce this (may be privately)?

Thanks.

WBR,
Alexey.

On Dec 1, 2009, at 3:49 , [hidden email] wrote:

>
> 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@17e9fe8 Context:
> com.sun.grizzly.Context@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.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]