[Solved] 100% CPU usage in Deluge GTK UI

General support for any problems installing or running Deluge

[Solved] 100% CPU usage in Deluge GTK UI

Postby gard » Sat Feb 19, 2011 5:57 pm

Hi!
I again have problem why Deluge use 100% my CPU. I noticed that it starts after I run "Open folder" or "Open file" in Deluge interface. I checked and it happens all the time. After I click "Open Folder" or "Open" (file) in GTKUI Deluge load my cpu to 100% (one core). Sorry, I can not myself to solve this problem.
Versions: deluge 1.3.1; libtorrent-rasterbar 0.15.5. My system: ArchLinux x86_64.

ps: sorry for my bad english (=

Edit: Fixed released for pygtk
gard
Member
Member
 
Posts: 12
Joined: Sat Feb 13, 2010 6:15 pm

Re: Reason 100% CPU use in Deluge 1.3.1 (and other versions?

Postby Cas » Sat Feb 19, 2011 6:58 pm

it is a known problem with pygtk that we cannot fix. it has been discussed many times on the forum
Cas
Developer
Developer
 
Posts: 2373
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Reason 100% CPU use in Deluge 1.3.1 (and other versions?

Postby gard » Sat Feb 19, 2011 7:15 pm

Yes, this is a problem for a long time .. but I thought it necessary to write about their observations.
gard
Member
Member
 
Posts: 12
Joined: Sat Feb 13, 2010 6:15 pm

Re: Reason 100% CPU use in Deluge 1.3.1 (and other versions?

Postby nomnex » Tue Apr 05, 2011 8:22 am

Cas wrote:it is a known problem with pygtk that we cannot fix. it has been discussed many times on the forum


Why isn't it in the FAQ as known problem. I had exactly the same problem. Did not know about it. Was not documented (but in the forum).

So, that's the reason why Deluge suddenly become a resource hog, because I access a directory from the GUI.
nomnex
Member
Member
 
Posts: 10
Joined: Wed Oct 21, 2009 10:52 pm

Re: Reason 100% CPU use in Deluge 1.3.1 (and other versions?

Postby Cas » Tue Apr 05, 2011 12:50 pm

This is not something for the FAQ however i will sticky this thread.

Relevant tickets:
http://dev.deluge-torrent.org/ticket/1396
https://bugs.launchpad.net/ubuntu/+sour ... bug/706521

If you dig deeper you will find that this was fixed late in February 2011 in PyGTK 2.23.2, so this probably won't see this fixed in Ubuntu until 11.10 at the earliest. (unless recent PyGTK 2.23+ gets backported.)
Cas
Developer
Developer
 
Posts: 2373
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Reason 100% CPU use in Deluge 1.3.1 (and other versions?

Postby Cas » Sat Apr 23, 2011 5:30 pm

There is a patch now available and will be fixed in pygtk 2.24.

Now fixed in Ubuntu Natty (Bug 664920)

May be backported to Maverick and Lucid but in the meantime there are patched debs available.

An example of install for Ubuntu Maverick 64-bit

Download these two files:
    python-glade2_2.21.0-1ubuntu1_amd64.deb
    python-gtk2_2.21.0-1ubuntu1_amd64.deb
You will then need to install both files simultaneously with dpkg:
Code: Select all
sudo dpkg -i python-glade2_2.21.0-1ubuntu1_amd64.deb python-gtk2_2.21.0-1ubuntu1_amd64.deb
Cas
Developer
Developer
 
Posts: 2373
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: [Solved] 100% CPU usage in Deluge GTK UI

Postby lloonmid » Mon Apr 15, 2013 3:49 am

Hi, cas. I'm using deluge 1.3.6, and I got this problem too(deluge hangs a while when the speed is very fast, cause cpu usage to 100%)
I don't know if this patch is still useful. But I can't find python-gtk2_2.21.0-1ubuntu1_amd64.deb on the patch link you gave.
lloonmid
New User
New User
 
Posts: 4
Joined: Fri Sep 07, 2012 12:35 am


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 11 guests