[Solved] 100% CPU usage in Deluge GTK UI

General support for problems installing or using Deluge
Post Reply
gard
Member
Member
Posts: 12
Joined: Sat Feb 13, 2010 6:15 pm

[Solved] 100% CPU usage in Deluge GTK UI

Post by gard »

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
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

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

Post by Cas »

it is a known problem with pygtk that we cannot fix. it has been discussed many times on the forum
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?

Post by gard »

Yes, this is a problem for a long time .. but I thought it necessary to write about their observations.
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?

Post by nomnex »

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.
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

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

Post by Cas »

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
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

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

Post by Cas »

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
lloonmid
New User
New User
Posts: 5
Joined: Fri Sep 07, 2012 12:35 am

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

Post by lloonmid »

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.
Post Reply