Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Deluge 1.x and 100% cpu usage problem (SOLVED)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
LittleBug
Tux's lil' helper
Tux's lil' helper


Joined: 30 Mar 2005
Posts: 148
Location: 45°51'31.28"N, 12°15'11.73"E

PostPosted: Mon Feb 02, 2009 2:01 pm    Post subject: Deluge 1.x and 100% cpu usage problem (SOLVED) Reply with quote

Hi!
After get some error from deluge 0.5.9.3 I try to upgrade to version 1.1.1 BAD IDEA :evil: ! When check for existing torrent it really check but torrent never start.
After that I switch to 1.0.7-r1 version (stable) it start, check and go with low usage of cpu BUT after a while cpu go at 100%.
top says me that deluged is eating my cpu (about 95% 8O)

Anyone have an idea to solve this boring problem?

(I'm sure this topic shouldn't stay here but in "Desktop Environments" section, sorry for this mistake :oops:, if a moderator can move it to the appropriate section, or tell me how to do it, Thanks!)


Last edited by LittleBug on Tue Feb 03, 2009 2:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
szczerb
Veteran
Veteran


Joined: 24 Feb 2007
Posts: 1709
Location: Poland => Lodz

PostPosted: Mon Feb 02, 2009 2:25 pm    Post subject: Reply with quote

Actually I think it belongs here. Deluge doesn't have to be used with a GUI. I use it as a deamon with the web interface. I've got the 1.1.1 version and it works great. I have around 30 torrents active and it did eat a lot of memory (a lot less then azureus used to) but the CPU usage is minimal.
Back to top
View user's profile Send private message
LittleBug
Tux's lil' helper
Tux's lil' helper


Joined: 30 Mar 2005
Posts: 148
Location: 45°51'31.28"N, 12°15'11.73"E

PostPosted: Mon Feb 02, 2009 2:29 pm    Post subject: Reply with quote

Mmmm ok thanks! Now I'll try to use as deamon and control from webui. Hope this is the solution :lol:
Back to top
View user's profile Send private message
szczerb
Veteran
Veteran


Joined: 24 Feb 2007
Posts: 1709
Location: Poland => Lodz

PostPosted: Mon Feb 02, 2009 2:34 pm    Post subject: Reply with quote

While you're at it try using https. I had problems with it - the page couldn't load every other time. I switched back to http and everything is fine now.
Back to top
View user's profile Send private message
LittleBug
Tux's lil' helper
Tux's lil' helper


Joined: 30 Mar 2005
Posts: 148
Location: 45°51'31.28"N, 12°15'11.73"E

PostPosted: Mon Feb 02, 2009 2:55 pm    Post subject: Reply with quote

Thank for tip!
Can you advise me a guide to configure the web ui? I'm so noob in this kind of things
I start deluged daemon but I can connect at web-ui only if there is gtk ui too ( :?:)
Back to top
View user's profile Send private message
szczerb
Veteran
Veteran


Joined: 24 Feb 2007
Posts: 1709
Location: Poland => Lodz

PostPosted: Mon Feb 02, 2009 4:00 pm    Post subject: Reply with quote

1. Run the GTK UI first and go to Edit -> Preferences -> Interface (or similar) and uncheck classic mode. Close the GUI app.
2. Edit /etc/conf.d/deluged to something like this:
Code:
DELUGED_USER="szczerb"
DELUGEUI_START="true"
DELUGEUI_OPTS="-u web"

3. Start the service and go to http://localhost:8112/ and, as /usr/share/doc/deluge-1.1.1/README.bz2 says the default password is "deluge".
4. If you use Opera then do not choose the ajax template, but in Firefox an Epiphany it works fine (and is pretty cool).
Back to top
View user's profile Send private message
LittleBug
Tux's lil' helper
Tux's lil' helper


Joined: 30 Mar 2005
Posts: 148
Location: 45°51'31.28"N, 12°15'11.73"E

PostPosted: Mon Feb 02, 2009 4:17 pm    Post subject: Reply with quote

WOW Thank you so much!!!! :D

Until now no cpu abuse occurred! :lol:

Some more hours of test and I'll add "SOLVED" to topic....
Back to top
View user's profile Send private message
LittleBug
Tux's lil' helper
Tux's lil' helper


Joined: 30 Mar 2005
Posts: 148
Location: 45°51'31.28"N, 12°15'11.73"E

PostPosted: Mon Feb 02, 2009 4:20 pm    Post subject: Reply with quote

What the hell!!! I just post and cpu go @ 100%
top says deluge is eating cpu :evil:

deluged won't stop!!
Code:
 /etc/init.d/deluged stop
 * Service deluged stopping
 * Stopping Deluged ...                                                   [ !! ]
 * Stopping Deluge ...                                                    [ ok ]
 * Service deluged stopped


There are 2 deluged processes
Code:
 ps ax|grep deluged
14826 ?        Sl     0:07 /usr/bin/python /usr/bin/deluged --port=58846 --config=/home/ame/.config/deluge
15088 ?        Ssl    4:35 /usr/bin/python /usr/bin/deluged --do-not-daemonize


Is it normal?

killing "/usr/bin/python /usr/bin/deluged --port=58846 --config=/home/ame/.config/deluge" don't change anything
... :cry:


Last edited by LittleBug on Mon Feb 02, 2009 4:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
szczerb
Veteran
Veteran


Joined: 24 Feb 2007
Posts: 1709
Location: Poland => Lodz

PostPosted: Mon Feb 02, 2009 4:20 pm    Post subject: Reply with quote

Great 8)

EDIT: Well....no so great then ;]

Unless someone gets here with a bright idea, I'd seek support on the deluge forums.
Back to top
View user's profile Send private message
LittleBug
Tux's lil' helper
Tux's lil' helper


Joined: 30 Mar 2005
Posts: 148
Location: 45°51'31.28"N, 12°15'11.73"E

PostPosted: Mon Feb 02, 2009 4:37 pm    Post subject: Reply with quote

mmm seem a boost library problem
http://forum.deluge-torrent.org/viewtopic.php?f=7&t=14975&p=72925&hilit=deluged+cpu#p72925
Let's reemerging boost!!!!

I reemerged boost but now when I login to deluge trough web-ui it says me
Quote:
Not Connected to a daemon

and ask me the IP of deluge daemon I tried http://localhost:58846 http://localhost:8112 but return to connect page....
Back to top
View user's profile Send private message
LittleBug
Tux's lil' helper
Tux's lil' helper


Joined: 30 Mar 2005
Posts: 148
Location: 45°51'31.28"N, 12°15'11.73"E

PostPosted: Tue Feb 03, 2009 2:09 pm    Post subject: Reply with quote

Ok solved by reemerging boost-1.34.1-r2, after several hours deluged doesn't eat cpu yet!!!! :D
Back to top
View user's profile Send private message
szczerb
Veteran
Veteran


Joined: 24 Feb 2007
Posts: 1709
Location: Poland => Lodz

PostPosted: Tue Feb 03, 2009 2:28 pm    Post subject: Reply with quote

congrats ;]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum