You are not logged in.
Pages: 1
Hi everybody,
I'm a new xfce user and I love it so far. I'm running latest manjaro on an old Thinkpad x220. I have a little problem with the stock power-manager. After some uptime, the ram usage of the xfce-power-manager grows continuous. After 7 days of runtime (with sleep-mode, of course) the ram usage is about 400 mb.
How can I improve this behaviour, or is it quite normal? Can someone relate to this problem? I'm really looking forward to reading your answers.
Yours,
Elser
Some system-stuff:
thinkpad x220
8gb ram
core i3 2nd
system on msata with legacy
os: latest manjaro
Offline
Did know that a swithing supply has longer life if you turn off power from wall electrical socket when not used. Xfce boot and shutdown is fast.
http://www.eevblog.com/forum/beginners/ … er-supply/
For example, we have external main power switch in our new washing machine (cpu controlled) . I have changed capacitators form my LG24'' monitor twice in 6 years.
Offline
With respect to the potential memory leak, can you confirm that you are seeing this with the xfce4-power-manager daemon, or with the power manager plugin?
And also, what version of xfce4-power-manager are you running:
xfce4-power-manager -V
There were a couple of commits added this year to fix memory leaks in the power manager plugin:
- http://git.xfce.org/xfce/xfce4-power-ma … b762a9f675 (made it into the 1.5.0 code base)
- http://git.xfce.org/xfce/xfce4-power-ma … bcad1ae267 (made it into the 1.4.3 code base)
If you are using the latest version, it might be a good idea to create a bug report (since I don't see an active one for memory leaks in xfce4-power-manager or the power manager plugin). Information on debugging memory leaks using valgrind can be found here.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thanks for the quick response!
xfce4-power-manager -V
gives me
Xfce Power Manager 1.4.4
Part of the Xfce Goodies Project
http://goodies.xfce.org
Licensed under the GNU GPL.
I'm not sure if its the daemon or the plugin, but I think it is the plugin.
yours
Offline
Now that I look, I'm seeing the same sort of ram use creepage as you (I'm running 1.5.2) . I'll have a closer look to see what I can find.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Oh ok. So, I'm happy that I'm not the only one with this behaviour. I started xfce4-power-manager --no-daemon but the result was the same. htop gives me 20 hours of runtime and the manager uses already 30 mb of ram (started with 21 mb).
Offline
Its the power manager plugin that is slowly creeping up the RSS ram usage. The process is something like:
toz 9502 9408 0 Nov23 tty1 00:00:05 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libxfce4powermanager.so 12 8388653 power-manager-plugin Power Manager Plugin Display the battery levels of your devices and control the brightness of your display
I'm going to run it through valgrind when I have a chance to see if I can find a memory leak.
This command will help you to view and monitor it:
top -p $(ps -ef | grep libxfce4power | grep -v grep | awk '{ print $2 }')
It would be interesting to see if any other forum members see this same slow RES creepage.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thanks for this command! I can confirm that the ram usage slowly increases. Starting with 19 mb of ram usage (in my case) after 24 hours its about 49 mb and going up. I would appreciate if you could do this valgrind-thing because I have no clue how to perform such a investigation.
Offline
I will try to find the time to dig into it. In the meantime, I've created a bug report.
I've also found that restarting the panel:
xfce4-panel -r
...resets the memory usage.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thank you very much for your help! I really appreciate this!
Offline
Too bad one couldn't disable the XFCE one & use a different power manager, like MATE Power Manager for example. Or would it work?
bah weep grana weep ninny bon.
Offline
Too bad one couldn't disable the XFCE one & use a different power manager, like MATE Power Manager for example. Or would it work?
Actually, the xfce4-power-manager daemon is fine, its the "Power Manager" panel plugin that is the issue.
What you could do, if you have a version where the System Tray Icon was re-added to the xfce4-power-manager codebase (version 1.4.4 or higher), is enable the "System Tray Icon" from the xfce4-power-manager settings dialog and not add the "Power Manager" plugin. You'll get the old systray icon and it doesn't seem to leak memory.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Neat. Removed the panel plug in after I checked the show system tray icon box. I didn't know they had removed the system tray icon option and re-added it. Thanks!
Last edited by SantaFe (2015-11-26 16:04:31)
bah weep grana weep ninny bon.
Offline
Pages: 1
[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 584.8 KiB (Peak: 601.65 KiB) ]