users@grizzly.java.net

Re: exception when stress test

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Tue, 01 Dec 2009 11:04:40 +0100

Hi Ken,

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

Thanks.

WBR,
Alexey.

On Dec 1, 2009, at 3:49 , Ken--_at_newsgroupstats.hk 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_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.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>