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?0?2/etc/security/limits.conf to max, but the error still
appears.
------------------?0?2Original?0?2------------------
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,
>?0?2 ?0?2 ?0?2I have written a ryu application, it works well with small
topology, but
> when I create a topology which has 80 switches,?0?2I obtain the following
error:
>
>
> hub: uncaught exception: Traceback (most recent call last):
>?0?2 ?0?2 File "/usr/local/lib/python2.7/dist-packages/ryu/lib/hub.py", line 59, in
_launch
>?0?2 ?0?2 File
"/usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py",
> line 151, in __call__
>?0?2 ?0?2 File
"/usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py",
> line 188, in server_loop
>?0?2 ?0?2 File "/usr/local/lib/python2.7/dist-packages/ryu/lib/hub.py", line
139, in
> serve_forever
>?0?2 ?0?2 File
"/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line
> 214, in accept
>?0?2 ?0?2 File
"/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line
> 56, in socket_accept
>?0?2 ?0?2 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