LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Memory leak in Lite Widget?
#1

LL5 is excellent. I am having issues getting my head around EUFI but that is another matter. The following problem was, I am pretty sure, also present in LL4.

After having a problem with a machine "seizing up" if left on for several days I investigated and think there is a problem with the Lite Widget (or conky, which it uses) grabbing more and more memory over time. I have confirmed this using LL5.0 on several machines, with both Intel and AMD processors and from 2GB to 12GB RAM. Some were totally new installs. My tests use the following script:



Code:
#!/bin/bash
# litewsize.sh is to report conky's memory use every hour
# Licence: Any legal use that does not harm anyone is permitted
echo
echo litewsize.sh reports conky\'s memory use every hour
echo
echo runs top -d 3600 -b \|grep conky
echo  . PID  USER .... PR . NI VIRT ... RES .. SHR . S . %CPU %MEM . TIME+ . COMMAND
top -d 3600 -b |grep conky


These are the first results using a machine with 4GB RAM. The script was started after 2 hours "up" time.
Code:
litewsize.sh reports conky's memory use every hour


runs top -d 3600 -b |grep conky
. PID USER .... PR . NI VIRT ... RES .. SHR . S . %CPU %MEM . TIME+ . COMMAND
2096 nomaz     20   0  631176  37620  13776 S   0.0  1.0   1:56.87 conky
2096 nomaz     20   0  639876  46280  13776 S   1.7  1.2   2:56.29 conky
2096 nomaz     20   0  649204  55616  13776 S   1.7  1.4   3:56.68 conky
2096 nomaz     20   0  657784  64200  13776 S   1.8  1.7   5:00.10 conky
2096 nomaz     20   0  666536  72916  13776 S   1.7  1.9   6:02.34 conky
2096 nomaz     20   0  676128  82576  13776 S   1.8  2.1   7:05.89 conky
2096 nomaz     20   0  684736  91204  13776 R   1.9  2.3   8:15.05 conky
2096 nomaz     20   0  693316  99812  13776 S   1.9  2.6   9:22.70 conky
2096 nomaz     20   0  702028 108416  13776 S   1.9  2.8  10:30.71 conky
2096 nomaz     20   0  710864 117244  13776 S   1.9  3.0  11:40.61 conky
Note that memory used by conky has gone from 1% to 3% between 2 and roughly 12 hours. (For whatever reason the timing of the tests is only approximately every 3600 seconds.)


Leaving this running, the RAM usage after 700 hours was nearly 33% as shown here:
Code:
2096 nomaz     20   0 2717092 1.213g   2260 S   1.4 32.8 700:17.74 conky
I think there is a problem. Pursuing it further is beyond me but I would be happy to test any proposed solution.


Regards to Jerry and all developers and users.
Richard Bowers.
Desktop: Running LL5 on second HD in ACEPC model MK1: "Mini PC 4GB RAM 64GB ROM Windows 10 Celeron J3455 Processor Mini Computer Dual HDMI, Support mSATA / 2.5 inches SSD/HDD 4K, Dual Band WiFi, Gigabit Ethernet, USB 3.0". Don't normally use the supplied W10. Also use LL on netbook (Using xrandr to "expand" the screen) and various old laptops. NAS drive and web server hosted by Raspberry Pi's.
Reply


Messages In This Thread
Memory leak in Lite Widget? - by Richard B - 09-17-2020, 01:28 PM
Re: Memory leak in Lite Widget? - by Artim - 09-19-2020, 12:44 PM
Re: Memory leak in Lite Widget? - by Moltke - 09-19-2020, 02:44 PM
Re: Memory leak in Lite Widget? - by Valtam - 09-19-2020, 02:56 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)