For those still having problem with the crash, I suggest you compile libtorrent latest version 0.16.11. I have done this and now my deluge is very stable. It has been few days since I have done compiling the new version and it has been stable. However, I have not done many downloads for the past few days to truly say it solved the problem 100%. But I would say that I have always suspected the problem to be due to the version of libtorrent that comes with ubuntu 12.04.
For those who want to try, here is what I did:
- I did not uninstall current version of libtorrent cause running command apt-get to remove libtorrent, it will also remove deluge. I wanted to keep the deluge package.
- take note I am running as root. If you are running as user, you might need to add sudo command.
- reference from here for more information on compilation:
http://forum.deluge-torrent.org/viewtop ... 7&p=173249
Code: Select all
cd /home
wget http://libtorrent.googlecode.com/files/libtorrent-rasterbar-0.16.11.tar.gz
tar -zxvf libtorrent-rasterbar-0.16.11.tar.gz
cd libtorrent-rasterbar-0.16.11
./configure --enable-python-binding
make
sudo checkinstall --install=no
Using checkinstall --install=no, it will create a .deb installation file. This is a better method because you don't want to disturb your current deluge running. The whole steps above will compile a .deb package for libtorrent 0.16.11 and will not install into your system. Up to this stage, your current deluge service will not be disturbed.
Once you have are done with the checkinstall command and assuming no errors, you can then proceed to replace libtorrent by stopping your deluge. If possible, make sure all torrents are downloaded because there are chances that you need to re-do the configurations. It worked fine for me without needing me to redo anything but doesn't mean it will work fine for you. Once you are prepared, run command below:
Code: Select all
killall -9 deluged
killall -9 deluge-web
killall -9 {all the deluge services that are still running like deluge-gtk and so on...I am using deluge-web only}
ps aux | grep deluge {to see if any deluge services are still running - kill them all}
cd /home/libtorrent-rasterbar-0.16.11
dpkg -i libtorrent-rasterbar_0.16.11-1_amd64.deb {the deb file you got in checkinstall previously}
ldconfig
Once done, you can start your deluge services again. This time it should be using the new libtorrent. To confirm,
You should get:
deluged: 1.3.6
libtorrent: 0.16.11.0
Let me know if you guys have problem compiling. Cause in my tutorial, I expect you to have some of the required package for compilation and running checkinstall. You will get error if some of the packages are missing. You might want to run below to install them packages:
Code: Select all
apt-get update
apt-get install build-essential
apt-get install checkinstall