Bug 610761 - XFCE sensor panel memory leak ?
Summary: XFCE sensor panel memory leak ?
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: xfce4-sensors-plugin
Version: 14
Hardware: x86_64
OS: Linux
low
high
Target Milestone: ---
Assignee: Christoph Wickert
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-02 11:56 UTC by William A. Mahaffey III
Modified: 2011-11-08 20:28 UTC (History)
1 user (show)

Fixed In Version: xfce4-sensors-plugin-1.2.3-1.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-08 20:28:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
screenshot of HTOP output as I write this .... (120.05 KB, image/png)
2010-07-02 11:56 UTC, William A. Mahaffey III
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Xfce 6539 0 None None None Never

Description William A. Mahaffey III 2010-07-02 11:56:30 UTC
Created attachment 429037 [details]
screenshot of HTOP output as I write this ....

Description of problem:I see from htop output sorted by resident memory that the sensor panel on my XFCE desktop is currently taking 412M of RAM, after being logged in for 3 days now ....


Version-Release number of selected component (if applicable): xfce4-sensors-plugin.x86_64  1.0.0-1.fc12


How reproducible: log into XFCE desktop w/ sensor panel active & watch it for a few days ....


Steps to Reproduce:
1.
2.
3.
  
Actual results: 412M of RAM after ~3 days ....


Expected results: maybe a few hundred KB of RAM ....


Additional info:

Comment 1 Christoph Wickert 2010-07-04 21:54:38 UTC
Thanks for your report, I forwarded it upstream as 
http://bugzilla.xfce.org/show_bug.cgi?id=6539

Comment 2 Bug Zapper 2010-11-03 12:36:20 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '12'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Christoph Wickert 2010-11-27 20:52:37 UTC
Bug still appears in F14. Upgrading and removing NEEDINFO.

Comment 4 Raphael Groner 2010-12-04 18:17:45 UTC
William,

could you try to reproduce it over some hours and watch how many bytes are leaked approximately in what time period?

And please attach your user configuration. The following command will give the file name.
ID=`ps --no-headers -o args -C xfce4-sensors-plugin |sed -e "s,.\+ id ,," -e "s, .\+,,"` && ls ~/.config/xfce4/panel/xfce4-sensors-plugin-${ID}.rc

I hope this information can help to debug.

Comment 5 Christoph Wickert 2010-12-04 18:34:48 UTC
This might also be of help: http://wiki.xfce.org/howto/panel_plugin_debug

Comment 6 William A. Mahaffey III 2010-12-04 20:45:03 UTC
Unfortunately this bug rendered XFCE useless for me (I usually login & stay there for days/weeks at a time, & the memory leak precluded that :-( ), so I am not using XFCE at the moment. Someone else said it was still there, maybe you could check w/ them, sorry :-/ ....

IIRC, the leak rate was in the 200-ish MB/day range, give or take. I have 2 GB of RAM on this box & it was all soaked up in less than a week. HTH ....

Comment 7 Christoph Wickert 2011-11-08 20:28:05 UTC
I cannot reproduce the problem. My laptop is running for 11 days now and the sensors-plugin only takes 0.2% memory. However I am not using lm_sensors (and upstream thinks that libsensors is to blame). Anyway, this will be investigated further upstream.


Note You need to log in before you can comment on or make changes to this bug.