Page 4 of 4
Re: Deluge 1.1.0_RC2 Released!
Posted: Fri Jan 02, 2009 6:34 pm
by JanAcc
andar wrote:JanAcc wrote:Hey,
just wanted to let you know that the Label feature "move to directory when completed", as already mentioned in
http://forum.deluge-torrent.org/viewtop ... =10#p65345 , doesn't work with RC2 either...
I can understand that you consider this as a minor bug but for me it's the only thing missing to make deluge become my overall favorite torrent client
JanAcc
This has been fixed in revision 4478.
Ok, I'll check this out later. Thanks
Just in case, where is the right place to report bugs I found in current svn revisions or is it general a better idea to wait for the next RC?
Re: Deluge 1.1.0_RC2 Released!
Posted: Mon Jan 05, 2009 1:13 am
by darude
Hello Guys,
I'm having some problems when starting up deluged.
the daemon gets full load on one core and the web ui doesnt work anymore.
Code: Select all
6365 deluge 20 0 324m 33m 8508 S 100 1.7 3:00.63 deluged
The only way to kill the process is via SIGKILL, SIGTERM doesn't work.
this happens regularly every second time I start the daemon with the following init-script:
Code: Select all
#!/bin/sh
# created by mambang
# Headless deluge startup script
#
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
USER="deluge"
DELUGEDAEMON="/usr/bin/deluged"
DELUGEDAEMON_OPTIONS=""
#DELUGEDAEMON_OPTIONS="-l /var/log/deluge/deluged.log"
WEBDAEMON="/usr/bin/deluge"
WEBDAEMON_OPTIONS="-u web"
DESC1="Deluge Daemon"
DESC2="Deluge WebUI"
NAME1="deluge daemon"
NAME2="deluge webui"
set -e
case "$1" in
start)
echo -n "Starting $DESC1 : "
start-stop-daemon -c $USER --start --background --quiet --exec $DELUGEDAEMON \
-- ${DELUGEDAEMON_OPTIONS}
echo "$NAME1"
sleep 2
echo -n "Starting $DESC2 : "
start-stop-daemon -c $USER --start --background --quiet --exec $WEBDAEMON \
-- ${WEBDAEMON_OPTIONS}
echo "$NAME2"
;;
stop)
echo -n "Stopping $DESC1 : "
PIDDELUGE=`ps ax |grep deluged |sed -n 1p |awk '{print $1}'`
kill $PIDDELUGE
echo "$NAME1."
echo -n "Stopping $DESC2 : "
PIDWEB=`ps ax |grep deluge |sed -n 1p |awk '{print $1}'`
kill $PIDWEB
echo "$NAME2."
;;
*)
N=deluge-daemon
echo "Usage: $N {start|stop}" >&2
exit 1
;;
esac
exit 0
There is no hdd activity, at first I thought its checking some torrents with its download files, but the hdd is idling.
Maybe there is something wrong with the script or it is bug, I dunno :/
Re: Deluge 1.1.0_RC2 Released!
Posted: Mon Jan 05, 2009 3:22 am
by andar
darude wrote:Hello Guys,
I'm having some problems when starting up deluged.
the daemon gets full load on one core and the web ui doesnt work anymore.
Code: Select all
6365 deluge 20 0 324m 33m 8508 S 100 1.7 3:00.63 deluged
The only way to kill the process is via SIGKILL, SIGTERM doesn't work.
this happens regularly every second time I start the daemon with the following init-script:
Code: Select all
#!/bin/sh
# created by mambang
# Headless deluge startup script
#
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
USER="deluge"
DELUGEDAEMON="/usr/bin/deluged"
DELUGEDAEMON_OPTIONS=""
#DELUGEDAEMON_OPTIONS="-l /var/log/deluge/deluged.log"
WEBDAEMON="/usr/bin/deluge"
WEBDAEMON_OPTIONS="-u web"
DESC1="Deluge Daemon"
DESC2="Deluge WebUI"
NAME1="deluge daemon"
NAME2="deluge webui"
set -e
case "$1" in
start)
echo -n "Starting $DESC1 : "
start-stop-daemon -c $USER --start --background --quiet --exec $DELUGEDAEMON \
-- ${DELUGEDAEMON_OPTIONS}
echo "$NAME1"
sleep 2
echo -n "Starting $DESC2 : "
start-stop-daemon -c $USER --start --background --quiet --exec $WEBDAEMON \
-- ${WEBDAEMON_OPTIONS}
echo "$NAME2"
;;
stop)
echo -n "Stopping $DESC1 : "
PIDDELUGE=`ps ax |grep deluged |sed -n 1p |awk '{print $1}'`
kill $PIDDELUGE
echo "$NAME1."
echo -n "Stopping $DESC2 : "
PIDWEB=`ps ax |grep deluge |sed -n 1p |awk '{print $1}'`
kill $PIDWEB
echo "$NAME2."
;;
*)
N=deluge-daemon
echo "Usage: $N {start|stop}" >&2
exit 1
;;
esac
exit 0
There is no hdd activity, at first I thought its checking some torrents with its download files, but the hdd is idling.
Maybe there is something wrong with the script or it is bug, I dunno :/
I suggest passing -d to the daemon when using start-stop-daemon.
Other than that, you may want to try starting the daemon with debug logging to see if there are any errors.
Re: Deluge 1.1.0_RC2 Released!
Posted: Mon Jan 05, 2009 11:48 am
by darude
good morning
at first thanks for your help, maybe you remember me from the irc channel, my nick was FleischKarussel
now to the problem:
i am a little bit confused about the -d paramter, because the man page describes this as "do not daemonize",
but isn't that what it should do?
I changed the options to this
Code: Select all
DELUGEDAEMON="/usr/bin/deluged"
DELUGEDAEMON_OPTIONS="-d -L debug -l /var/log/deluge/deluged.log"
but the problem remains, after about 5-10mins of running fine, the daemon goes to hell
Code: Select all
PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command
22000 deluge 20 0 406M 55872 8700 R 100. 2.8 3:29.65 /usr/bin/python2.5 /usr/bin/deluged -d -L debug -l /var/log/deluge/deluged.log
unfortunately there is absolutly nothing in the given log file
Code: Select all
root@hostname:/var/log/deluge# ll
-rw-r--r-- 1 deluge geniorxt 0 2009-01-05 01:51 deluged.log
root@hostname:/var/log/deluge# less deluged.log
deluged.log (END)
does it have something to do with this bug report?
http://dev.deluge-torrent.org/ticket/598
thanks in advance, darude
Re: Deluge 1.1.0_RC2 Released!
Posted: Mon Jan 05, 2009 1:27 pm
by andar
darude wrote:good morning
at first thanks for your help, maybe you remember me from the irc channel, my nick was FleischKarussel
now to the problem:
i am a little bit confused about the -d paramter, because the man page describes this as "do not daemonize",
but isn't that what it should do?
I changed the options to this
Code: Select all
DELUGEDAEMON="/usr/bin/deluged"
DELUGEDAEMON_OPTIONS="-d -L debug -l /var/log/deluge/deluged.log"
but the problem remains, after about 5-10mins of running fine, the daemon goes to hell
Code: Select all
PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command
22000 deluge 20 0 406M 55872 8700 R 100. 2.8 3:29.65 /usr/bin/python2.5 /usr/bin/deluged -d -L debug -l /var/log/deluge/deluged.log
unfortunately there is absolutly nothing in the given log file
Code: Select all
root@hostname:/var/log/deluge# ll
-rw-r--r-- 1 deluge geniorxt 0 2009-01-05 01:51 deluged.log
root@hostname:/var/log/deluge# less deluged.log
deluged.log (END)
does it have something to do with this bug report?
http://dev.deluge-torrent.org/ticket/598
thanks in advance, darude
You generally don't want to fork when using start-stop-daemon.
Are you using boost 1.35? There is an issue with that version of boost which causes 100% cpu usage.
Re: Deluge 1.1.0_RC2 Released!
Posted: Mon Jan 05, 2009 1:51 pm
by darude
hi there,
actually, the daemon runs fine for 2 hours, its kind of weird Oo
i am using this:
Code: Select all
i libboost-date-time1.34.1 1.34.1-11u 1.34.1-11u
i libboost-filesystem1.34.1 1.34.1-11u 1.34.1-11u
i libboost-iostreams1.34.1 1.34.1-11u 1.34.1-11u
i libboost-thread1.34.1 1.34.1-11u 1.34.1-11u
i libboost-python1.34.1 1.34.1-11u 1.34.1-11u
....
I think its the latest stable version from the ubuntu 8.10 repos