Hi Iwase,
Thanks for your reminding.
My Ryu version is 4.23, and Open vSwitch on Mininet is 2.5.2.
I think the connections between Ryu and Mininet Switch often disconnected and
sometimes it cannot reconnect.
How can I solve the problem?
Thanks,
YF
------------------ Original ------------------
From: "Iwase Yusuke";<iwase.yusu...@gmail.com>;
Send time: Thursday, Mar 8, 2018 8:23 AM
To: "Zhang Yifan"<zhang*****@qq.com>;
Cc: "ryu-devel"<ryu-devel@lists.sourceforge.net>;
Subject: Re: [Ryu-devel] Too many open files
Hi,
Well, which version of Ryu (also OVS on Mininet?) are you using?
And please check whether re-connections between Ryu and your switches occur or
not. If re-connections occurs too frequently, your switches might try to
establish new connections regardless of Ryu could close socket successfully,
then Ryu unexpectedly eats up file descriptors and reaches its limit.
Thanks,
Iwase
On 2018??03??07?? 17:11, Zhang Yifan wrote:
> Hi,
>
> I have modified /etc/security/limits.conf to max, but the error still appears.
>
>
> ------------------ Original ------------------
>
>
> Hi,
>
> I seem the number of "file descriptors" hits the limit of its max.
> In most case, 1024 is the max per process and "/proc/sys/fs/file-max" contains
> the max of whole of OS.
>
> e.g.)
> $ ulimit -n
> 1024
>
> $ cat /proc/sys/fs/file-max
> 800471
>
> Thanks,
> Iwase
>
>
> On 2018??03??05?? 18:33, Zhang Yifan wrote:
> > Hi everyone,
> > I have written a ryu application, it works well with small topology,
> but
> > when I create a topology which has 80 switches, I obtain the following
> error:
> >
> >
> > hub: uncaught exception: Traceback (most recent call last):
> > File "/usr/local/lib/python2.7/dist-packages/ryu/lib/hub.py", line 59,
> in
> _launch
> > File
> "/usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py",
> > line 151, in __call__
> > File
> "/usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py",
> > line 188, in server_loop
> > File "/usr/local/lib/python2.7/dist-packages/ryu/lib/hub.py", line 139,
> in
> > serve_forever
> > File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py",
> line
> > 214, in accept
> > File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py",
> line
> > 56, in socket_accept
> > File "/usr/lib/python2.7/socket.py", line 206, in accept
> > error: [Errno 24] Too many open files
> >
> > I want to know how I can fix the error?
> >
> > Thanks,
> > YF
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > 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
>
------------------------------------------------------------------------------
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