Hi,
Yes I mean the debug log message that says EVENT LOST when I use the
--verbose option.
My code has a traffic request arrive and this causes events to be sent
between different apps to handle this request. The issue I'm facing is that
sometimes I get the event lost message so the code doesn't finish to the
end, but other times it does. This means that the event handler works and
the code is correct, but somehow something is causing the events to be lost
occasionally. Now, if I have many events in succession, then there's a
higher chance for the code to fail because one of the events gets lost.
So I'm wondering if you might know anything like timing or some other
reason that might cause this to happen. I'm running the code on an Ubuntu
system, and also tried it on Cygwin.
Thank you,
Yiwen
On Feb 12, 2017 11:01 PM, "Iwase Yusuke" <iwase.yusu...@gmail.com> wrote:
Hi Yiwen,
What does "lost" exactly mean?
You mean:
- Getting the following debug log message when some events occurred.
https://github.com/osrg/ryu/blob/master/ryu/base/app_manager.py#L317-L318
- Your event handler was not called when interested events occurred.
or else?
Thanks,
Iwase
On 2017年02月11日 07:06, Yiwen Shen wrote:
> Hi,
>
> In my system, I am using send_event to send events around some Ryu apps
and each time I run it, sometimes the events succeed but most of the time
one of the events are lost. I have tried using hub.sleep(1) at the
beginning but it doesn't make it any better. 80% of the time the code
cannot reach the end because one of the events are lost.
>
> Thank you,
> Yiwen
>
>
> ------------------------------------------------------------
------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>
>
>
> _______________________________________________
> Ryu-devel mailing list
> Ryu-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel