! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
X high CPU utilization
Status:
RESOLVED: FIXED
Product:
Xfce4-power-manager
Component:
General

Comments

Description pablo 2009-11-16 19:24:02 CET
Created attachment 2673 
strace log - see line 3,513 .. I belieive that's when X goes rogue.  :)

Howdy,

I have a Dell M4300 with two batteries.  Intel Duo Core T7700 and 4GB of RAM.

When I run `xfce4-power-manager', after a few minutes of inactivity, `X' consumes all of one my of processors.

I strace'd `xfce4-power-manager' with `--no-daemon' and I'm attaching the file.

Eyeballing when X is pegged, it seemed to happen around line 3,513.  But I'm not 100% sure.

Please let me know what other forensics you'd like me to collect.

Cheers,
-pablo
Comment 1 pablo 2009-11-16 19:26:57 CET
Oh, I forgot to add, I tried switching off different combinations of the following to try and narrow the issue:

o Monitor power management control 
o Show notifications to notify about the battery state
o CPU frequency control

I can't recall the different combinations I tried.  Please let me know whether I should try any others.

Cheers,
-pablo
Comment 2 Ali Abdallah editbugs 2009-11-18 08:03:28 CET
(In reply to comment #0)
> Created an attachment (id=2673) [details]
> strace log - see line 3,513 .. I belieive that's when X goes rogue.  :)
> 
> Howdy,
> 
> I have a Dell M4300 with two batteries.  Intel Duo Core T7700 and 4GB of RAM.
> 
> When I run `xfce4-power-manager', after a few minutes of inactivity, `X'
> consumes all of one my of processors.
> 
> I strace'd `xfce4-power-manager' with `--no-daemon' and I'm attaching the file.
> 
> Eyeballing when X is pegged, it seemed to happen around line 3,513.  But I'm
> not 100% sure.
> 
> Please let me know what other forensics you'd like me to collect.
> 
> Cheers,
> -pablo

Sorry for the late reply...

Which distro you are using? is this gnome or xfce? do you see the same problem with gnome-power-manager (if you can install this package and try will be nice).

Thanks.
Comment 3 pablo 2009-11-18 14:24:05 CET
Hi Ali,

No worries on the `delay' - I think your response time is more than adequate.  :)  Nonetheless, thank you.

To answer your questions:

o I'm using `openSUSE 11.2'
o The DE is Xfce
o I do not see the same problem when running `gnome-power-manager'

Just a comment on `xfce4-power-manager' - it's slick!  :)  

Cheers,
-pablo
Comment 4 Ali Abdallah editbugs 2009-11-19 10:14:58 CET
You know why i'm not posting here, because really i don't know from where to start, i don't know what can cause X to go busy. I will post if i figure out something.
Comment 5 pablo 2009-11-19 11:28:55 CET
(In reply to comment #4)
> You know why i'm not posting here, because really i don't know from where to
> start, i don't know what can cause X to go busy. I will post if i figure out
> something.

Hi Ali,

Thank you for your candid response.

I have an idea.  Why don't I open a bug on the openSUSE tracker and see if someone can chip in there.  If you're okay with that, I'll do so.

Cheers,
-pablo
Comment 6 Ali Abdallah editbugs 2009-11-19 11:45:07 CET
(In reply to comment #5)

> Hi Ali,
> 
> Thank you for your candid response.
> 
> I have an idea.  Why don't I open a bug on the openSUSE tracker and see if
> someone can chip in there.  If you're okay with that, I'll do so.

I you installed xfpm from the openSUSE repositories, then yes, probably they can have an idea, but please post the bug report link here so i can have a look at its status and hopefully we can fix it.


> 
> Cheers,
> -pablo

Cheers,
Ali.
Comment 7 pablo 2009-11-19 17:00:53 CET
Hi Ali,

It turns out there's a similar bug under investigation on the `openSUSE' side.

I've added myself to the cc.  Here's the link:  https://bugzilla.novell.com/show_bug.cgi?id=550440

Please let me know what you'd like me to do with this bug:  close it, leave it open until the other issue is addressed?

Cheers,
-pablo
Comment 8 Ali Abdallah editbugs 2009-11-20 09:47:55 CET
Could you please try out the latest commit? i mean try to use xfpm from git.

git clone http://git.xfce.org/git/apps/xfce4-power-manager
cd xfce4-power-manager
./autogen --prefix=/usr --sysconfdir=/etc
make
make install

Let me know if it is better.

Thanks.
Comment 9 pablo 2009-11-21 02:33:48 CET
(In reply to comment #8)
>
> Let me know if it is better.
>

Hi Ali,

Sorry for the late response.  I re-installed `openSUSE 11.2' from scratch because I wanted to go increase swap and switch back to `xfs' (I tried `ext4').

The `git' versions seems to have resolved the issue.  W00t!

Thank you for your super quick response.  I appreciate it very much.

Cheers,
-pablo
Comment 10 Ali Abdallah editbugs 2010-01-09 10:38:09 CET
*** Bug 6128 has been marked as a duplicate of this bug. ***

Bug #5988

Reported by:
pablo
Reported on: 2009-11-16
Last modified on: 2010-01-09
Duplicates (1):
  • 6128 xfce4-power-manager makes X process using 100% of CPU

People

Assignee:
Ali Abdallah
CC List:
1 user

Version

Version:
0.8.4.1

Attachments

Additional information