Librespot seize all storage

  • I download LibreELEC-AMLGX.arm-11.0.3-box.img and write to SD card to use LibreELEC

    I am running LibreELEC on a TV Box with Amlogic S905,

    I need to use spotify connect,

    So, I install addon Librespot ver 11.0.0.3 from LibreELEC Add-ons

    Menu path = Add-ons -> Install from repository -> LibreELEC Add-ons -> Services -> Librespot (Anton Voyi (awiouy)-11.0.0.3 )

    After install sucessfully, I can find other device from Spotify,

    But I can't find my LibreELEC device from Spotiy connect

    And a few minutes later, my storagee of SD cards were full and occupied by the process

    the following is the detail of my system:

    before install Librespot: /dev/mmcblk0p2 available=932.2M

    LibreELEC:~ # df -h

    Filesystem Size Used Available Use% Mounted on

    devtmpfs 269.9M 4.0K 269.9M 0% /dev

    tmpfs 160.5M 13.5M 147.0M 8% /run

    /dev/mmcblk0p1 511.7M 126.8M 384.9M 25% /flash

    /dev/loop0 112.0M 112.0M 0 100% /

    /dev/mmcblk0p2 952.9M 16.7M 932.2M 2% /storage

    tmpfs 401.3M 0 401.3M 0% /dev/shm

    tmpfs 401.3M 2.2M 399.1M 1% /var

    tmpfs 401.3M 0 401.3M 0% /tmp

    After install Librespot: /dev/mmcblk0p2 available=0M

    LibreELEC:~ # df -h

    Filesystem Size Used Available Use% Mounted on

    devtmpfs 269.9M 4.0K 269.9M 0% /dev

    tmpfs 160.5M 13.5M 147.0M 8% /run

    /dev/mmcblk0p1 511.7M 126.8M 384.9M 25% /flash

    /dev/loop0 112.0M 112.0M 0 100% /

    /dev/mmcblk0p2 952.9M 948.9M 0 100% /storage

    tmpfs 401.3M 0 401.3M 0% /dev/shm

    tmpfs 401.3M 2.1M 399.2M 1% /var

    tmpfs 401.3M 0 401.3M 0% /tmp


    all space are occupied at /storage/.cache/cores=918.9M

    LibreELEC:~ # du -h /storage | grep '^\s*[0-9\.]\+M'

    918.9M /storage/.cache/cores

    919.0M /storage/.cache

    6.5M /storage/.kodi/addons/packages

    7.9M /storage/.kodi/addons/service.librespot/bin

    8.0M /storage/.kodi/addons/service.librespot

    1.3M /storage/.kodi/addons/game.controller.keyboard/resources

    1.3M /storage/.kodi/addons/game.controller.keyboard

    20.8M /storage/.kodi/addons

    6.3M /storage/.kodi/userdata/Thumbnails

    2.4M /storage/.kodi/userdata/Database

    8.8M /storage/.kodi/userdata

    29.7M /storage/.kodi

    948.9M /storage

    find the following

    LibreELEC:~ # lsof|grep deleted

    789 /usr/lib/kodi/kodi.bin /memfd:pulseaudio (deleted)

    LibreELEC:~ # kill -9 789

    space are available again

    LibreELEC:~ # df -h

    Filesystem Size Used Available Use% Mounted on

    devtmpfs 269.9M 4.0K 269.9M 0% /dev

    tmpfs 160.5M 13.5M 147.0M 8% /run

    /dev/mmcblk0p1 511.7M 126.8M 384.9M 25% /flash

    /dev/loop0 112.0M 112.0M 0 100% /

    /dev/mmcblk0p2 952.9M 42.8M 906.1M 5% /storage

    tmpfs 401.3M 0 401.3M 0% /dev/shm

    tmpfs 401.3M 2.1M 399.2M 1% /var

    tmpfs 401.3M 0 401.3M 0% /tmp

    Anything wrong ??

    If I stop service Librespot then the storage stop growth

    I am not sure the information is enouth or not ? Attachments pastekodi_log.txt is my log from KODI

    Is anyone can help me to solve:

    1. Librespot seize all storage ??

    2. Can been found by Spotify Connect ??

    Thanks very much

  • The system is up for some time before the crash so it's unlikely to be something with the core OS, and more likely to be something that result from use. Hard to say what though, the current logs don't reveal much (Kodi log is not a debug log).

  • hmm, according to the logs mmcblk0 should be a 128GB SD card. However the storage partition seems to contain only a 1GB filesystem - that should have been about 127GB instead. 1GB isn't enough for kodi plus addons...

    so long,

    Hias