On Tue, Dec 29, 2015 at 12:20:43PM -0800, Kirill Timofeev
<[email protected]> wrote:
> but I see that some incoming packets are lost with 2 childs:
All I can see is that 8476 packets apparently have been received, not hat
they have been lost - you don't seem to do any error checking on send, and
depending on how fast ruby does it's thing, it could easily make the kernel
run out of packet buffers.
so first make sure you don't get ENOBUFS or another error.
I haven't looked at your progrma in detail, but since running two
processes is much less efficient than one, I would first check that you
really did send all those packets.
I also don't know of anything that could go wrong specifically with
multiple processes, apart from the myriad issues around udp receiving in
general.
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / [email protected]
-=====/_/_//_/\_,_/ /_/\_\
_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/mailman/listinfo/libev