v18 LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)
(2017-02-11, 19:57)Milhouse Wrote:
(2017-02-11, 13:49)bmonster Wrote: Morning Milhouse,

When I have a problem, i'll leave it a couple of day and see if it disappears on its own, if it doesn't I'll always check the problem still exists under a clean environment, basically rename the .kodi folder.
I've gone back and tried all builds from 0201 to 0210, and for me the only one that's not screwing with the memory is 0205, every other build is giving high memory usage with minutes of booting.

Sorry I'm not too technical, so not sure how to investigate further, I can help further with a little guidance.

Regards BM

Can you post your config.txt?

Also can you run "bcmstat.sh Zxd 10" in ssh after booting the latest build, as this should give a memory usage figure I can relate to. Leave it running and see if the memory usage figure increases to an abnormally high level.

My RPi3 with 320MB GPU split (booted last night about 9pm, so over 20 hours ago) currently shows:
Code:
Memory Free/Used
================
596,568 kB/15.2%

Once memory usage increases significantly, try running "top -o RES" which should list processes in descending order of memory usage.

Since this doesn't appear to be a new problem, and happens with a "clean" .kodi, I'd expect this to be far more widespread. I currently suspect this is something specific to your configuration, but not sure what that could be.

Hi Milhouse,

Its been running about 15mins on 0211, and its not gone much higher than 50%, better than 80%, but still seems high compared to your 15%.
I've added the requested info below, let me know if anything stands out to you.
If it starts rising again, i'll repost top -o RES

config.txt

Code:
force_turbo=0
hdmi_force_hotplug=1
hdmi_ignore_cec_init=1
avoid_warnings=1

gpu_mem=256
gpu_mem_256=112
gpu_mem_512=160
gpu_mem_1024=256

arm_freq=1200
core_freq=500
sdram_freq=500
over_voltage=2

decode_MPG2=
decode_WVC1=

bcmstat.sh Zxd 10

Code:
Config: v0.4.4, args "Zxd 10", priority lowest (+19)
   Board: 4 x ARMv7 cores available, ondemand governor (Pi3 rev 1.2, BCM2837 SoC with 1GB RAM by Embest)
  Memory: 1023MB (split 767MB ARM, 256MB GPU)
HW Block: |   ARM   |  Core  |  H264  |    SDRAM    |
Min Freq: |  600MHz | 250MHz |   0MHz |    500MHz   |
Max Freq: | 1200MHz | 500MHz | 300MHz |    500MHz   |
Voltages: |        +2, 1.3125V        | +2, 1.2500V |
   Other: temp_limit=85, hdmi_force_hotplug=1
Firmware: Feb 8 2017 19:38:24, version d61adb766e5712326bba636c81017fbac3b8419f (clean) (release)
  Codecs: H264 H263 WVC1 MPG4 MPG2 VP8 VP6 VORB THRA MJPG FLAC PCM
  Booted: Sat Feb 11 23:06:35 2017

Time         ARM    Core    H264 Core Temp (Max)  IRQ/s     RX B/s     TX B/s  %user  %nice   %sys  %idle  %iowt   %irq %s/irq %total Memory Free/Used
======== ======= ======= ======= =============== ====== ========== ========== ====== ====== ====== ====== ====== ====== ====== ====== ================
23:21:00 1200Mhz  500Mhz  300Mhz 55.31C (55.31C)    505          0          0   0.00   7.84  15.69  78.44   0.00   0.00   0.00  21.56 366,832 kB/52.3%

top -o RES

Code:
487 root      20   0  999644 525024 171864 S  26.3 68.3   7:46.27 kodi.bin
  262 root       9 -11   91620   5596   4812 S   0.0  0.7   0:00.16 pulseaudio
    1 root      20   0    6268   4852   3988 S   0.0  0.6   0:01.42 systemd
  471 root      20   0    6204   4648   4264 S   0.0  0.6   0:00.19 wpa_supplicant
  210 root      20   0   13700   3760   3524 S   0.0  0.5   0:00.28 systemd-journal
1144 root      20   0    4840   3756   3332 S   0.0  0.5   0:01.15 sshd
  357 root      20   0    5432   3712   3304 S   0.0  0.5   0:00.89 connmand
  364 root      20   0    4516   3520   3244 S   0.0  0.5   0:00.04 sshd
1145 root      20   0    4516   3244   3008 S   0.0  0.4   0:00.23 sshd
  258 root      20   0    4544   3224   3032 S   0.0  0.4   0:00.03 systemd-logind
  270 dbus      20   0    4036   2716   2392 S   0.0  0.4   0:00.24 dbus-daemon
  252 root      20   0    8316   2616   2144 S   0.0  0.3   0:00.18 systemd-udevd
  559 root      20   0    3264   2280   1632 S   0.0  0.3   0:00.17 mount.ntfs
  243 root      20   0    3496   2028   1844 S   0.0  0.3   0:00.17 rpcbind
  600 root      20   0    3076   1996   1608 S   0.0  0.3   0:00.00 mount.ntfs
  597 root      20   0    3156   1920   1524 S   0.0  0.2   0:00.52 mount.ntfs
1151 root      20   0    2920   1856   1480 R   1.3  0.2   0:00.65 top
  254 root      20   0    2996   1820   1628 S   0.0  0.2   0:00.05 eventlircd
1148 root      20   0    2756   1708   1612 S   0.0  0.2   0:00.00 sh
  482 root      20   0    2756   1652   1548 S   0.0  0.2   0:00.00 kodi.sh
1147 root      20   0    2080   1152   1088 S   0.0  0.1   0:00.00 sftp-server
1146 root      20   0    2756    376    344 S   0.0  0.0   0:00.00 sh
    2 root      20   0       0      0      0 S   0.0  0.0   0:00.00 kthreadd
    3 root      20   0       0      0      0 S   0.0  0.0   0:01.11 ksoftirqd/0
    5 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kworker/0:0H
    6 root      20   0       0      0      0 S   0.0  0.0   0:00.04 kworker/u8:0
    7 root      20   0       0      0      0 S   0.0  0.0   0:00.38 rcu_sched
    8 root      20   0       0      0      0 S   0.0  0.0   0:00.00 rcu_bh
    9 root      rt   0       0      0      0 S   0.0  0.0   0:00.00 migration/0
   10 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 lru-add-drain
   11 root      rt   0       0      0      0 S   0.0  0.0   0:00.00 watchdog/0
   12 root      20   0       0      0      0 S   0.0  0.0   0:00.00 cpuhp/0

After 1hr

Code:
┌────────────────────────────────────────────────────────────────────┐
     │                         • MobaXterm 9.4 •                          │
     │            (SSH client, X-server and networking tools)             │
     │                                                                    │
     │ ➤ SSH session to [email protected]                                │
     │   • SSH compression : ✔                                            │
     │   • SSH-browser     : ✔                                            │
     │   • X11-forwarding  : ✘  (disabled or not supported by server)     │
     │   • DISPLAY         : 192.168.1.102:0.0                            │
     │                                                                    │
     │ ➤ For more info, ctrl+click on help or visit our website           │
     └────────────────────────────────────────────────────────────────────┘

##############################################
#                 LibreELEC                  #
#            http://libreelec.tv             #
##############################################

LibreELEC (community) Version: devel-20170211224117-#0211-g2c59d7d
LibreELEC git: 2c59d7d424228ded592d953efa8f484753837f87
KODI:~ # top -o RES
top - 01:21:45 up  1:13,  1 user,  load average: 0.20, 1.85, 1.47
Tasks: 140 total,   2 running, 138 sleeping,   0 stopped,   0 zombie
%Cpu(s):  2.0 us,  0.7 sy,  1.3 ni, 96.1 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem :   768548 total,    31112 free,   544284 used,   193152 buff/cache
KiB Swap:        0 total,        0 free,        0 used.   170124 avail Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
  485 root      20   0 1120444 544228  30308 R  23.0 70.8  26:20.52 kodi.bin
2397 root      20   0    4836   3560   3120 S   0.0  0.5   0:01.18 sshd
2398 root      20   0    4516   3244   3008 S   0.0  0.4   0:00.19 sshd
    1 root      20   0    6300   2760   1860 S   0.0  0.4   0:01.53 systemd
  354 root      20   0    5432   2276   1864 S   0.0  0.3   0:00.86 connmand
  454 root      20   0    6204   2024   1640 S   0.0  0.3   0:00.48 wpa_supplicant
2404 root      20   0    2924   1856   1476 R   1.3  0.2   0:01.40 top
  219 root      20   0   13700   1768   1528 S   0.0  0.2   0:00.38 systemd-journal
2401 root      20   0    2756   1568   1472 S   0.0  0.2   0:00.02 sh
  270 dbus      20   0    4036   1164    800 S   0.0  0.2   0:00.46 dbus-daemon
2400 root      20   0    2080   1056    992 S   0.0  0.1   0:00.00 sftp-server
  326 root       9 -11   91620   1044    264 S   0.0  0.1   0:00.15 pulseaudio
  612 root      20   0    3076    872    396 S   0.0  0.1   0:00.01 mount.ntfs
  266 root      20   0    4544    836    644 S   0.0  0.1   0:00.06 systemd-logind
  254 root      20   0    8500    832    276 S   0.0  0.1   0:00.21 systemd-udevd
  567 root      20   0    3076    688    172 S   0.0  0.1   0:00.02 mount.ntfs
  359 root      20   0    4516    672    396 S   0.0  0.1   0:00.07 sshd
  564 root      20   0    3064    648    268 S   0.0  0.1   0:00.00 mount.ntfs
  325 root      20   0    2996    556    364 S   0.0  0.1   0:00.07 eventlircd
2399 root      20   0    2756    368    336 S   0.0  0.0   0:00.00 sh
  481 root      20   0    2756    364    260 S   0.0  0.0   0:00.00 kodi.sh
  242 root      20   0    3496    184      0 S   0.0  0.0   0:00.19 rpcbind
    2 root      20   0       0      0      0 S   0.0  0.0   0:00.00 kthreadd
    3 root      20   0       0      0      0 S   0.0  0.0   0:03.54 ksoftirqd/0
    5 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 kworker/0:0H
    7 root      20   0       0      0      0 S   0.0  0.0   0:01.16 rcu_sched
    8 root      20   0       0      0      0 S   0.0  0.0   0:00.00 rcu_bh
    9 root      rt   0       0      0      0 S   0.0  0.0   0:00.00 migration/0
   10 root       0 -20       0      0      0 S   0.0  0.0   0:00.00 lru-add-drain
   11 root      rt   0       0      0      0 S   0.0  0.0   0:00.01 watchdog/0
   12 root      20   0       0      0      0 S   0.0  0.0   0:00.00 cpuhp/0
   13 root      20   0       0      0      0 S   0.0  0.0   0:00.00 cpuhp/1


Messages In This Thread
RE: LibreELEC Testbuilds for RaspberryPi (Kodi 18.0) - by bmonster - 2017-02-12, 01:31
WD MyCloud - by crisp waffles - 2017-09-06, 03:11
No 3D Playback since Version - by Mike74 - 2017-10-09, 19:25
Migrating from RPi2 to RPi1 - by RappaSan - 2017-11-10, 14:45
RE: Migrating from RPi2 to RPi1 - by Milhouse - 2017-11-10, 21:06
RE: Migrating from RPi2 to RPi1 - by RappaSan - 2017-11-11, 09:17
Resolution broken after 0415 - by lozbrown85 - 2018-04-20, 11:48
popt 1.16 - by n0n4m3 - 2018-06-29, 00:28
RE: popt 1.16 - by Milhouse - 2018-06-29, 06:39
A plugin to be resurrected - by ArminiusTux - 2018-10-22, 22:02
RE: A plugin to be resurrected - by Milhouse - 2018-10-23, 02:46
Logout Mark Read Team Forum Stats Members Help
LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)24