Summary: | sysutils/xfce4-power-manager: allocates ALL memory | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Thomas E. Spanjaard <t.e.spanjaard> | ||||||
Component: | Individual Port(s) | Assignee: | Martin Wilke <miwi> | ||||||
Status: | Closed Unable to Reproduce | ||||||||
Severity: | Affects Some People | CC: | info, kevinz5000, lev, madpilot, marek, miwi, olivierd, sbruno, tablosazi.farahan, timello | ||||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(xfce) |
||||||
Version: | Latest | ||||||||
Hardware: | amd64 | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Description
Thomas E. Spanjaard
2015-04-04 20:29:34 UTC
(In reply to Thomas E. Spanjaard from comment #0) xfce4-power-manager is not required to log out your session. It manages power consumption. How your Xfce session is started? I have same problem on old Sony Vaio laptop with current system. Session is started by slim login manager via xfce.desktop file ("startxfce4") Before latest update it worked. Ok, I could not change backlight, but it didn't spent ~5 minutes tharshing my HDD with swapping. Same issue started to occur occasionally on my HP Folio 9470m in last time. xfce4-power-manager-1.5.0 Name : xfce4-power-manager Version : 1.5.0 Installed on : Thu May 28 18:23:50 CEST 2015 uname -a FreeBSD pa-hpbook 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r264145: Sat Apr 5 21:20:21 CEST 2014 palik@pa-hpbook:/usr/obj/usr/src/sys/MYIPSEC amd64 /etc/rc.conf slim_enable="YES" .xinitrc /usr/local/bin/startxfce4 dmesg pid 1873 (xfpm-power-backligh), uid 1001, was killed: out of swap space pid 1443 (Xorg), uid 0, was killed: out of swap space Someone can test sysutils/xfce4-power-manager with sysutils/upower > 0.99.0 [1]? (I'm using upower 0.99.2, and I can't find why CPU increases.) Users of FreeBSD current, may I have output of sysctl -a | grep hw.acpi.video? [1] bug #200541 New release 1.5.1 is available in Xfce repository. If someone can test it (debug symbols are set). Before update sysutils/xfce4-power-manager: 1. kill xfce4-power-manager daemon 2. Update sysutils/upower (bug #200541) 3. Apply patch, in order to update sysutils/xfce4-power-manager Then run xfce4-power-manager daemon (with debug option): xfce4-power-manager --debug If CPU increases, please send output. Note: Since this release, there's hidden option for panel plugin. By default next to icon, a label is displayed (it shows percentage and remaining time) To hide this label, new property /xfce4-power-manager/show-panel-label must be created: xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/show-panel-label -n -t int -s 0 Possible values are: * 0 -> don't show label * 1 -> displays only percentage * 2 -> displays only remaining time * 3 -> displays percentage and remaining time (default value) Created attachment 157536 [details]
Patch to update sysutils/xfce4-power-manager to 1.5.1
Patch to update sysutils/xfce4-power-manager 1.5.1 with debug symbols.
(In reply to Olivier Duchateau from comment #4) upower-0.99.3 xfce4-power-manager-1.5.1 > sysctl -a | grep hw.acpi.video no output (In reply to Olivier Duchateau from comment #5) > If CPU increases, please send output. CPU works OK, but the message "was killed: out of swap space" still there. Created attachment 157624 [details]
xfce4-power-manager --debug
xfce4-power-manager-1.5.1
Unpatched, mine is currently using: 1072 sbruno 2 21 0 177M 25876K select 3 2:23 0.00% xfce4-power-manager How long do I need to let this run? I see the same issue on: Thinkpad T420 (4180LVP) I'm noticing a memory leak with xfce4-power-manager-1.6.0, too. I have upower-0.99.3 installed. Hardware is a ThinkPad T420, no backlight available. --- uname -a --- FreeBSD foxtrot.*** 10.3-RELEASE FreeBSD 10.3-RELEASE #0 r297264: Fri Mar 25 02:10:02 UTC 2016 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 --- .xinitrc --- #!/bin/sh xset b off exec startxfce4 --with-ck-launch Perhaps a red herring, but with the notification icon initially on, turning it off in the preferences gives this message when running with --debug: TRACE[xfpm-manager.c:721] xfpm_manager_tray_update_icon(): updating icon TRACE[xfpm-manager.c:705] xfpm_manager_tray_update_tooltip(): updating tooltip TRACE[xfpm-xfconf.c:203] xfpm_xfconf_property_changed_cb(): Property modified: /xfce4-power-manager/show-tray-icon (xfce4-power-manager:12802): Gtk-WARNING **: A floating object was finalized. This means that someone called g_object_unref() on an object that had only a floating reference; the initial floating reference is not owned by anyone and must be removed with g_object_ref_sink(). It looks like this memory leak only occurs when the system tray icon is enabled. Turning it off works around the memory leak for me. Can other people confirm this? Apparently this issue has been traced upstream to glib: https://bugzilla.gnome.org/show_bug.cgi?id=758641 maintainer reset Hi, Is the problem still existing with the current ports tree? Is this still a problem? The power manager has been updated to 1.6.0 in the while. If I get no feedback in a few days I'm going to close the issue. Thanks. (In reply to Guido Falsi from comment #17) Not for me. (In reply to Kevin Zheng from comment #18) > (In reply to Guido Falsi from comment #17) > Not for me. Sorry ut I can't unambiguously parse your reply. Not for me means: - it's not a problem for me anymore, now it works - it's not been solved for me, still allocates all memory Can you clarify? Thanks. (In reply to Guido Falsi from comment #19) Sorry, I was a bit terse. I can't reproduce the issue, it seems to work. Closing bug. The original problem seems t be fixed. User not able to reproduce anymore. MARKED AS SPAM |