Opened 15 years ago

Closed 15 years ago

#906 closed bug (Fixed)

gtk ui and pypanel CPU spike when connected to daemon

Reported by: Dan39 Owned by: andar
Priority: major Milestone:
Component: GTK UI Version: 1.1.7
Keywords: gtk panel taskbar Cc:

Description

When I start deluge client it works fine, and if I do not connect to daemon everything is fine. As soon as I connect to daemon pypanel CPU goes to 50% and deluge client CPU goes to about 30%. Panel is almost unresponsive; when I click app in task bar it takes like 5 minutes before it focuses to app. Total CPU usage stays at 100% until I kill pypanel

some interesting errors in log. lines 119-126 maybe. http://dpaste.com/hold/38234/

not sure if problem with python(because of pypanel?), python version, or something else...

Did not have problem with 1.1.6

Change History (2)

comment:1 by Dan39, 15 years ago

ok, after some talks in the IRC channel we figured out that andar made a "typo" on the update interval of the session speed in titlebar. easy fix :P i guess he got confused between seconds and milliseconds

by default the option to show session speed in titlebar is off, but if you have it turned on it will cause high cpu usage for client/taskbar. for now, in preferences, under interface, just uncheck "Show session speed in titlebar".

comment:2 by Dan39, 15 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.