On Tue, 18 Feb 2014 18:55:54 -1000
Nicholas Bastin <nick.bas...@gmail.com> wrote:

> It doesn't seem to matter what application I run, my Ryu constantly runs
> out of open files within an hour or two of running with just a single
> switch connected:
> 
> hub: uncaught exception: Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/dist-packages/ryu/lib/hub.py", line 48, in
> _launch
>     func(*args, **kwargs)
>   File
> "/usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py", line
> 61, in __call__
>     self.server_loop()
>   File
> "/usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py", line
> 87, in server_loop
>     server.serve_forever()
>   File "/usr/local/lib/python2.7/dist-packages/ryu/lib/hub.py", line 97, in
> serve_forever
>     sock, addr = self.server.accept()
>   File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio.py", line
> 177, in accept
>   File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio.py", line
> 56, in socket_accept
>   File "/usr/lib/python2.7/socket.py", line 202, in accept
> error: [Errno 24] Too many open files
> 
> Has anyone else seen this issue?  This makes no sense to me - there's only
> one switch connected, and it maintains a steady connection.

Hmm, I've never seen such. Looks like the limit of max open files in
Linux kernel was hit. Can you check the result of 'lsof'? To
specifying a process id of ryu-manager like 'lsof -p [process id]'
gives a prettier result.

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to