You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by newigniter <to...@gmail.com> on 2019/03/25 19:47:17 UTC

Failed to process selector key

Hi!

I get a bunch of "Failed to process selector key" errors. Can someone please
help what is the reason I could get those errors and any possible ways I
could fix this? 
Below is the full error from my log.

Tnx.


[grid-nio-worker-client-listener-2-#31][ClientListenerProcessor] Failed to
process selector key [ses=GridSelectorNioSessionImpl
[worker=ByteBufferNioClientWorker [readBuf=java.nio.HeapByteBuffer[pos=0
lim=8192 cap=8192], super=AbstractNioClientWorker [idx=2, bytesRcvd=0,
bytesSent=0, bytesRcvd0=0, bytesSent0=0, select=true, super=GridWorker
[name=grid-nio-worker-client-listener-2, igniteInstanceName=null,
finished=false, heartbeatTs=1553113497439, hashCode=1749319672,
interrupted=false, runner=grid-nio-worker-client-listener-2-#31]]],
writeBuf=null, readBuf=null, inRecovery=null, outRecovery=null,
super=GridNioSessionImpl [locAddr=/172.30.4.65:10800,
rmtAddr=/50.84.201.2:59934, createTime=1553105345772, closeTime=0,
bytesSent=132019, bytesRcvd=3510, bytesSent0=0, bytesRcvd0=0,
sndSchedTime=1553105610035, lastSndTime=1553105610035,
lastRcvTime=1553105610035, readsPaused=false,
filterChain=FilterChain[filters=[GridNioAsyncNotifyFilter,
GridNioCodecFilter [parser=ClientListenerBufferedParser, directMode=false]],
accepted=true, markedForClose=false]]]
java.io.IOException: Operation timed out
	at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
	at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
	at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
	at sun.nio.ch.IOUtil.read(IOUtil.java:197)
	at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
	at
org.apache.ignite.internal.util.nio.GridNioServer$ByteBufferNioClientWorker.processRead(GridNioServer.java:1104)
	at
org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.processSelectedKeysOptimized(GridNioServer.java:2389)
	at
org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.bodyInternal(GridNioServer.java:2156)
	at
org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.body(GridNioServer.java:1797)
	at
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120)
	at java.lang.Thread.run(Thread.java:748)



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Failed to process selector key

Posted by Ilya Kasnacheev <il...@gmail.com>.
Hello!

Most often it means that remote node closed the socket.

Please see other answer posted.

Regards,
-- 
Ilya Kasnacheev


пн, 25 мар. 2019 г. в 22:47, newigniter <to...@gmail.com>:

> Hi!
>
> I get a bunch of "Failed to process selector key" errors. Can someone
> please
> help what is the reason I could get those errors and any possible ways I
> could fix this?
> Below is the full error from my log.
>
> Tnx.
>
>
> [grid-nio-worker-client-listener-2-#31][ClientListenerProcessor] Failed to
> process selector key [ses=GridSelectorNioSessionImpl
> [worker=ByteBufferNioClientWorker [readBuf=java.nio.HeapByteBuffer[pos=0
> lim=8192 cap=8192], super=AbstractNioClientWorker [idx=2, bytesRcvd=0,
> bytesSent=0, bytesRcvd0=0, bytesSent0=0, select=true, super=GridWorker
> [name=grid-nio-worker-client-listener-2, igniteInstanceName=null,
> finished=false, heartbeatTs=1553113497439, hashCode=1749319672,
> interrupted=false, runner=grid-nio-worker-client-listener-2-#31]]],
> writeBuf=null, readBuf=null, inRecovery=null, outRecovery=null,
> super=GridNioSessionImpl [locAddr=/172.30.4.65:10800,
> rmtAddr=/50.84.201.2:59934, createTime=1553105345772, closeTime=0,
> bytesSent=132019, bytesRcvd=3510, bytesSent0=0, bytesRcvd0=0,
> sndSchedTime=1553105610035, lastSndTime=1553105610035,
> lastRcvTime=1553105610035, readsPaused=false,
> filterChain=FilterChain[filters=[GridNioAsyncNotifyFilter,
> GridNioCodecFilter [parser=ClientListenerBufferedParser,
> directMode=false]],
> accepted=true, markedForClose=false]]]
> java.io.IOException: Operation timed out
>         at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
>         at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
>         at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
>         at sun.nio.ch.IOUtil.read(IOUtil.java:197)
>         at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
>         at
>
> org.apache.ignite.internal.util.nio.GridNioServer$ByteBufferNioClientWorker.processRead(GridNioServer.java:1104)
>         at
>
> org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.processSelectedKeysOptimized(GridNioServer.java:2389)
>         at
>
> org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.bodyInternal(GridNioServer.java:2156)
>         at
>
> org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.body(GridNioServer.java:1797)
>         at
> org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120)
>         at java.lang.Thread.run(Thread.java:748)
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>