IOException in log and reference for dataRegion&cache configure

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

IOException in log and reference for dataRegion&cache configure

Hello, I have 2 kind of questions.

[1] Is there a reference for set Data Region & Cache configuration??
      I don't know exactly how to configure data&Cache... so, I looking for
reference or best practice of cache&data region set up.
Is it normal case divide data region by domain/business purpose area??


[2] I have 3 nodes at remote server and I use java thin client in
application.
I found these error in log file.
how can i fix it? or is it not problem?

[2020-05-13T10:03:24,034][ERROR][grid-nio-worker-client-listener-3-#53][ClientListenerProcessor]
Failed to process selector key [ses=GridSelectorNioSessionImpl
[worker=ByteBufferNioClientWorker [readBuf=java.nio.HeapByteBuffer[pos=0
lim=8192 cap=8192], super=AbstractNioClientWorker [idx=3, bytesRcvd=0,
bytesSent=0, bytesRcvd0=0, bytesSent0=0, select=true, super=GridWorker
[name=grid-nio-worker-client-listener-3, igniteInstanceName=null,
finished=false, heartbeatTs=1589331801209, hashCode=1310344598,
interrupted=false, runner=grid-nio-worker-client-listener-3-#53]]],
writeBuf=null, readBuf=null, inRecovery=null, outRecovery=null,
closeSocket=true, outboundMessagesQueueSizeMetric=null,
super=GridNioSessionImpl [locAddr=/41.2.127.801:12807,
rmtAddr=/42.1.12.100:90801, createTime=1589329323382, closeTime=0,
bytesSent=22, bytesRcvd=12, bytesSent0=0, bytesRcvd0=0,
sndSchedTime=1589329323392, lastSndTime=1589329323392,
lastRcvTime=1589329323392, readsPaused=false,
filterChain=FilterChain[filters=[GridNioAsyncNotifyFilter,
GridNioCodecFilter [parser=ClientListenerBufferedParser, directMode=false]],
accepted=true, markedForClose=false]]]
 java.io.IOException: 연결 시간 초과 (like Timeout)
 at sun.nio.ch.FileDispatcherImpl.read0(Native Method) ~[?:1.8.0_131]
  at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
~[?:1.8.0_131]
  at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) ~[?:1.8.0_131]
  at sun.nio.ch.IOUtil.read(IOUtil.java:197) ~[?:1.8.0_131]
  at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
~[?:1.8.0_131]
  at
org.apache.ignite.internal.util.nio.GridNioServer$ByteBufferNioClientWorker.processRead(GridNioServer.java:1162)
~[ignite-core-2.8.0.jar:2.8.0]
  at
org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.processSelectedKeysOptimized(GridNioServer.java:2449)
[ignite-core-2.8.0.jar:2.8.0]
  at
org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.bodyInternal(GridNioServer.java:2216)
[ignite-core-2.8.0.jar:2.8.0]
  at
org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.body(GridNioServer.java:1857)
[ignite-core-2.8.0.jar:2.8.0]
  at
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120)
[ignite-core-2.8.0.jar:2.8.0]
  at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
 
 
[2020-05-13T10:04:57,566][ERROR][grid-nio-worker-client-listener-2-#52][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=1589331895354, hashCode=1761702860,
interrupted=false, runner=grid-nio-worker-client-listener-2-#52]]],
writeBuf=null, readBuf=null, inRecovery=null, outRecovery=null,
closeSocket=true, outboundMessagesQueueSizeMetric=null,
super=GridNioSessionImpl locAddr=/41.2.127.801:12807,
rmtAddr=/42.1.12.100:90801, createTime=1589331817280, closeTime=0,
bytesSent=22, bytesRcvd=12, bytesSent0=0, bytesRcvd0=0,
sndSchedTime=1589331817300, lastSndTime=1589331817300,
lastRcvTime=1589331817290, readsPaused=false,
filterChain=FilterChain[filters=[GridNioAsyncNotifyFilter,
GridNioCodecFilter [parser=ClientListenerBufferedParser, directMode=false]],
accepted=true, markedForClose=false]]]


 java.io.IOException: 연결이 상대편에 의해 끊어짐(
 at sun.nio.ch.FileDispatcherImpl.read0(Native Method) ~[?:1.8.0_131]
  at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
~[?:1.8.0_131]
  at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) ~[?:1.8.0_131]
  at sun.nio.ch.IOUtil.read(IOUtil.java:197) ~[?:1.8.0_131]
  at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
~[?:1.8.0_131]
  at
org.apache.ignite.internal.util.nio.GridNioServer$ByteBufferNioClientWorker.processRead(GridNioServer.java:1162)
~[ignite-core-2.8.0.jar:2.8.0]
  at
org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.processSelectedKeysOptimized(GridNioServer.java:2449)
[ignite-core-2.8.0.jar:2.8.0]
  at
org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.bodyInternal(GridNioServer.java:2216)
[ignite-core-2.8.0.jar:2.8.0]
  at
org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.body(GridNioServer.java:1857)
[ignite-core-2.8.0.jar:2.8.0]
  at
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120)
[ignite-core-2.8.0.jar:2.8.0]
  at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
[2020-05-13T10:04:57,567][WARN
][grid-nio-worker-client-listener-2-#52][ClientListenerProcessor] Client
disconnected abruptly due to network connection loss or because the
connection was left open on application shutdown. [cls=class
o.a.i.i.util.nio.GridNioException, msg=연결이 상대편에 의해 끊어짐]

 




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
akorensh akorensh
Reply | Threaded
Open this post in threaded view
|

Re: IOException in log and reference for dataRegion&cache configure

kay kay
Reply | Threaded
Open this post in threaded view
|

Re: IOException in log and reference for dataRegion&cache configure

Thank you for reply.
I'll see that informations!



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
kay kay
Reply | Threaded
Open this post in threaded view
|

Re: IOException in log and reference for dataRegion&cache configure

In reply to this post by akorensh
Hello again :)

I read  memory configuration section.

https://apacheignite.readme.io/docs/memory-configuration

and I don't know exactly what 'setSystemRegionInitialSize',
'setSystemRegionMaxSize' do?
is it limit the global data storage of node?
I didn't configure those things and configured only dataRegionSize.
but it is working well.

some one tell me about 'setSystemRegionInitialSize',
'setSystemRegionMaxSize' infomation more

Thank you

 




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
ilya.kasnacheev ilya.kasnacheev
Reply | Threaded
Open this post in threaded view
|

Re: IOException in log and reference for dataRegion&cache configure

Hello!

These are for some Ignite internal caches. They have sensible small default value, you do not need to tune them.

Regards,
--
Ilya Kasnacheev


чт, 14 мая 2020 г. в 10:59, kay <[hidden email]>:
Hello again :)

I read  memory configuration section.

https://apacheignite.readme.io/docs/memory-configuration

and I don't know exactly what 'setSystemRegionInitialSize',
'setSystemRegionMaxSize' do?
is it limit the global data storage of node?
I didn't configure those things and configured only dataRegionSize.
but it is working well.

some one tell me about 'setSystemRegionInitialSize',
'setSystemRegionMaxSize' infomation more

Thank you






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