Deluge Daemon and Deluge-Web crashing

I have deluged daemon and deluge-web running on my server that auto starts and connects the web-ui to the daemon so I can use things like transdroid. The problem is that the daemon, web ui, or both keep crashing. I can't figure out what is happening, sometimes they will run for days or weeks and other times a few hours to a day.

Re: Deluge Daemon and Deluge-Web crashing

OK, it isn't exactly a solution but I created a script and scheduled a cronjob to check if deluged is running every 1 min and if not restart the service. ﻿It then appends the date and time to a log file so you can see how often it is crashing.

Re: Deluge Daemon and Deluge-Web crashing

I just started running into this problem myself. I haven't been able to track down the reason as to why yet. Have you made any headway or are you still relying on the crontab to restart the service?

Originally Posted by zaphod777

OK, it isn't exactly a solution but I created a script and scheduled a cronjob to check if deluged is running every 1 min and if not restart the service. ﻿It then appends the date and time to a log file so you can see how often it is crashing.

Re: Deluge Daemon and Deluge-Web crashing

I have a suspicion that it is a bug in libtorrent since I had the same problem with a few other torrent applications. For now I have just been using the cron job since it "fixes" it until I can find a real solution. It isn't ideal but at least I don't need to SSH in every time the dumb thing crashes.

Re: Deluge Daemon and Deluge-Web crashing

I had the same issue aswell how deluge seemed to either autoshutdown or crash either one. But the script thing has worked for me I set it to check every 10 mins to put little strain on the pi (not sure how much strain those scheduled scripts put but anyway)

I also did what sandyd said how to use that command to write a log when the error occurs. So my thing managed to crash and it created a log file but I have no idea how to read it as it is HUGE 500KBs of plain text.
So yea for those who are interested here you go.https://dl.dropboxusercontent.com/u/...ged.strace.log

Re: Deluge Daemon and Deluge-Web crashing

Did this issue ever get fully resolved? I recently installed Deluge and configured flexget for automation. Everything worked perfectly for several days, and suddenly the daemon started crashing every 10-15 seconds like the issue described in this thread. Deluge has an older but similar thread on their forum here. I installed the current version of deluge as described there, but it hasn't helped. Anything new here?