Hello, thanks for your reply!
The scene we use is to gradually increase the number of Ignite client nodes, establish a socket connection with the Ignite server cluster, and then read and write data. The upper limit of the number of client nodes and connections we set is 4000. Is this number of connections too high?
The error message of the call stack is as follows:
java.io.IOException: Connection reset by peer
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:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:377)
at org.apache.ignite.internal.util.nio.GridNioServer$DirectNioClientWorker.processRead(GridNioServer.java:1340)
at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.processSelectedKeysOptimized(GridNioServer.java:2480)
at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.bodyInternal(GridNioServer.java:2247)
at org.apache.ignite.internal.util.nio.GridNioServer$AbstractNioClientWorker.body(GridNioServer.java:1888)
at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:119)
at java.lang.Thread.run(Thread.java:748)
Best regards ,
------------------------------
Qiaoqiao Sun
office staff
ASUS Technology
------------------------------
Original Message:
Sent: 11-06-2020 05:32 AM
From: Ilya Kasnacheev
Subject: "Connection Reset by Peer"
Hello!
Usually it means that your TCP stack has decided to close connection which was not explicitly closed by application code.
WRT solving it, you need to understand where it happens first. Can you show a stack trace?
Regards,
------------------------------
Ilya Kasnacheev
Community Support Specialist
GridGain
Original Message:
Sent: 11-04-2020 01:20 AM
From: Qiaoqiao Sun
Subject: "Connection Reset by Peer"
Hi All,
I would like to know in which case the "Connection reset by peer" exception will occur? What is the influence of "Connection reset by peer" and how to solve it?
Thanks!
------------------------------
Qiaoqiao Sun
office staff
ASUS Technology
------------------------------