Page 1 of 1

Deluge with -c on another port.

Posted: Thu Apr 23, 2009 1:46 pm
by adante
Hi, I am trying to run multiple instances of deluge (long story don't ask :)), each with it's own config. Anyway I am having some trouble starting deluge from another config directory and having the daemon run on another port.

what I did was:

cp ~/.config/deluge ~/delug2

deluge -c ~/delug2

goto edit -> preferences -> daemon -> set port to 58847

close deluge

run ps aux | grep deluge and confirm there are no instances of deluge
run netstat -ln | grep 588 and confirm nothing is listening on 58846 or 58847

start deluge

goto edit -> preferences -> daemon -> confirm port is on 58847

run ps aux | grep deluge and get this output:

Code: Select all

adante      16916  8.8  1.5  78336 30792 pts/12   Sl+  23:44   0:00 /usr/bin/python /usr/bin/deluge -c /home/adante/delug2
adante      16930  0.2  0.6  65984 13152 ?        Sl   23:44   0:00 /usr/bin/python /usr/bin/deluged --port=58846 --config=/home/adante/delug2
run netstat -ln | grep 488 and get this output:

Code: Select all

tcp        0      0 127.0.0.1:58846         0.0.0.0:*               LISTEN
So while the ui seems to say 58847 it still seems to be running on 58846?

Obviously this makes it very hard to run 2 copies as they both try to start a daemon on the same port.

Has anybody had any luck either running multiple instances of deluge or running deluge with a -c directive and being able to use a different port?

Re: Deluge with -c on another port.

Posted: Thu Apr 23, 2009 4:59 pm
by andar
You can't do this with Classic Mode.

Re: Deluge with -c on another port.

Posted: Mon Apr 27, 2009 1:32 am
by adante
thanks - disabling classic mode and running fixed this