tomp2p / TomP2P

A P2P-based high performance key-value pair storage library
http://tomp2p.net
Apache License 2.0
438 stars 122 forks source link

Tomp2pCumulationTCP [ERROR] #108

Open qing3gan opened 9 years ago

qing3gan commented 9 years ago

1.Why peer connect to other peer always report the Tomp2pCumulationTCP [ERROR] - exception in decoding TCP, not started decoding. 2.There are 3 peers connected and added file,when the fourth peer connect to the network, the Tomp2pCumulationTCP [ERROR] - OutOfMemroy : Direct buffer memory is reproted. And sometimes, there are Tomp2pCumulationTCP [ERROR] - exception in decoding TCP, Occurred bofore or after started decoding.

tbocek commented 9 years ago
  1. This is most likely due to a "connection reset by peer". Since TomP2P terminates connections with a RST, you'll see these exceptions. Unfortunately in Java, its not possible to filter out those messages.
  2. How big is the file?

On 08/28/2015 03:18 PM, Agony wrote:

1.Why peer connect to other peer always report the Tomp2pCumulationTCP [ERROR] - exception in decoding TCP, not started decoding. 2.There are 3 peers connected and added file,when the fourth peer connect to the network, the Tomp2pCumulationTCP [ERROR] - OutOfMemroy : Direct buffer memory is reproted. And sometimes, there are Tomp2pCumulationTCP [ERROR] - exception in decoding TCP, Occurred bofore or after started decoding.

— Reply to this email directly or view it on GitHub https://github.com/tomp2p/TomP2P/issues/108.

tbocek commented 8 years ago

Do you have a testcase where I can reproduce this?