WebUI prevents Deluge restarting

Suggest, post, or discuss plugins for Deluge
pete_h
Member
Member
Posts: 39
Joined: Thu Dec 20, 2007 7:25 am

WebUI prevents Deluge restarting

Post by pete_h »

If WebUI is already running (for instance, if Deluge crashes) then I can't restart Deluge until I have manually killed the WebUI process.

Is this a known issue?

I'm running Ubuntu 7.10.

Pete
markybob
Compulsive Poster
Compulsive Poster
Posts: 1230
Joined: Thu May 24, 2007 11:27 pm
Location: Chicago, IL, USA
Contact:

Re: WebUI prevents Deluge restarting

Post by markybob »

pete_h wrote:If WebUI is already running (for instance, if Deluge crashes) then I can't restart Deluge until I have manually killed the WebUI process.

Is this a known issue?

I'm running Ubuntu 7.10.

Pete
depends...which version of deluge? "the latest version" is not an answer. go to help->about
pete_h
Member
Member
Posts: 39
Joined: Thu Dec 20, 2007 7:25 am

Re: WebUI prevents Deluge restarting

Post by pete_h »

markybob wrote:depends...which version of deluge? "the latest version" is not an answer. go to help->about
Heh, sorry... remembered to include the OS version, but not the Deluge version.

0.5.7.1, WebUI is rev.160
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: WebUI prevents Deluge restarting

Post by johnnyg »

I can confirm this as well.

running deluge with the webui still running throws a "what(): Address already in use" error.

when deluge closes normally it closes the webui by killing it, so I'm guessing because it didn't get to shut it down, it doesn't get to kill it.
wallacetheweasel
New User
New User
Posts: 8
Joined: Sat Dec 22, 2007 4:44 pm

Re: WebUI prevents Deluge restarting

Post by wallacetheweasel »

This happens to me as well. Deluge 0.5.7.1, XUbuntu 7.04.
mvoncken
Developer
Developer
Posts: 225
Joined: Mon Sep 03, 2007 9:38 pm

Re: WebUI prevents Deluge restarting

Post by mvoncken »

Are you all shure that it is the webui preventing to start deluge?
the “what(): Address already in use” error indicates a zombie deluge/libtorrent process, see this faq:
http://deluge-torrent.org/faq.php#6n42

If you get another error it could be the webui, but for now i think deluge itself crashed .
dev: webui, core, labels | irc:vonck7 |
sdyson

Re: WebUI prevents Deluge restarting

Post by sdyson »

I have the same issue. Deluge won't restart until I kill the WebUI process.
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: WebUI prevents Deluge restarting

Post by johnnyg »

I'm sure it's webui - when you do

Code: Select all

ps aux | grep deluge
the process is

Code: Select all

python /usr/share/deluge/plugins/WebUi/run_webserver env=0.5
(or something like that)

and once you've killed it, deluge can start and no longer throws the "what(): address already in use" error
mvoncken
Developer
Developer
Posts: 225
Joined: Mon Sep 03, 2007 9:38 pm

Re: WebUI prevents Deluge restarting

Post by mvoncken »

ok, i'll look in too it.
dev: webui, core, labels | irc:vonck7 |
icanhaswaffles
New User
New User
Posts: 4
Joined: Sun Dec 30, 2007 7:32 pm

Re: WebUI prevents Deluge restarting

Post by icanhaswaffles »

ditto

I accidentally crashed deluge by clicking a handful (5 or 6) of the first column pause buttons in rapid succession, as I thought it would work as expected. However, webUI and deluge stopped responding and cpu went to 100% for awhile. Killed main deluge process, but couldn't restart it due to address in use error. Found that the following process was left orphaned, and wasn't killed along with the deluge kill:

Code: Select all

python /usr/share/deluge/plugins/WebUi/run_webserver env=0.5
Worked normally after killing this process and restarting deluge.

This is ubuntu 7.10 and the new stable deluge release, if it helps.

thanks!
Post Reply