Hi,
Sorry if this has been asked, I've searched but no result so far.
I'm running Ubuntu 12.04.2 on a HP Proliant Microserver, and installed Deluge following these instructions: http://www.linuxplained.com/install-del ... untu-1204/ (just the daemon and web, no gui)
Daemon is running fine. Deluge-web ran well for two days, but now everytime I go into the web app and logout (or close the webui) the deluge-web module seems to hang.
This is the message:
web.Server Traceback (most recent call last):
<type 'exceptions.IOError'>: [Errno 24] Too many open files: '/usr/lib/python2.7/dist-packages/deluge/ui/web/index.html'
/usr/lib/python2.7/dist-packages/twisted/web/server.py, line 132 in process
/usr/lib/python2.7/dist-packages/twisted/web/server.py, line 167 in render
/usr/lib/python2.7/dist-packages/deluge/ui/web/server.py, line 573 in render
/usr/lib/python2.7/dist-packages/mako/template.py, line 224 in __init__
/usr/lib/python2.7/dist-packages/mako/template.py, line 267 in _compile_from_file
<type 'exceptions.IOError'>: [Errno 24] Too many open files: '/usr/lib/python2.7/dist-packages/deluge/ui/web/index.html'
I have only 8 torrents at this moment active, total about 100 files inside them I think.
I can just restart the deluge-web doing stop deluge-web -> start deluge-web, and it works fine again till next login, but having to log via ssh everytime just to put up a torrent is a bit stupid.
Anyone knows about this?
Thank you very much for reading.
Deluge web dies
Re: Deluge web dies
you need to increase your file limits in limits.conf and sysctl.conf
modify them to at least 65535.
Refer to this link for the guide:
http://www.cyberciti.biz/faq/linux-incr ... pen-files/
modify them to at least 65535.
Refer to this link for the guide:
http://www.cyberciti.biz/faq/linux-incr ... pen-files/
Re: Deluge web dies
Working, thank you very much.
Just in case, my own solution for the problem (stupid but effective) was putting up a cronjob with an sh with this content:
#!/bin/sh
stop deluge-web
start deluge-web
Just in case, my own solution for the problem (stupid but effective) was putting up a cronjob with an sh with this content:
#!/bin/sh
stop deluge-web
start deluge-web
Re: Deluge web dies
Sorry to be here again, but it seems it is not working
. Same problem.
I've noted now that deluge-web process goes to 100% cpu when it fails, I suppose it happened that way earlier.

I've noted now that deluge-web process goes to 100% cpu when it fails, I suppose it happened that way earlier.