Open GoogleCodeExporter opened 9 years ago
I get a RejectedExecutionException every now and then (very frequently
actually) at
m.handle(msg); line 194 @ KadServer.java
Original comment by flymaste...@gmail.com
on 15 Jul 2014 at 2:48
Hi,
it means that for some reason your node receives more messages than it can
handle.
The inside implementation is a fixed sized queue. It shouldn't happen and is
usually a bug.
Since open kad is not a DHT, I have to ask how did you implement it? (or do
you mean find nodes ? )
Original comment by Gilga1983
on 21 Jul 2014 at 11:05
[deleted comment]
I use the DHT implementation featured on the project page
(https://code.google.com/p/dht/). The DHT nodes are part of a simulation which
runs on a single machine. Every node uses a different port. Could it be that
the low/zero communication latency lead to my RejectedExecutionException
problem?
Original comment by flymaste...@gmail.com
on 21 Jul 2014 at 11:37
I will have a look at the code of DHT.
I haven't worked with that module before but that exception usually happened to
me when messages where sent to many times. It can easily be caused by
subscribing two identical handles to the message. (so the replay is doubled and
so on).
\
Original comment by Gilga1983
on 21 Jul 2014 at 2:43
Original issue reported on code.google.com by
flymaste...@gmail.com
on 15 Jul 2014 at 2:46