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

Reply via email to