Plexamp on headless Raspberri Pi - CPU usage keeps increasing

Hi,

I have Plexamp running on a Raspberry Pi, using this guide:

It’s working well, but CPU usage keeps on going up and up, over time even when I don’t use Plexamp:

There’s nothing else installed on the Pi, it’s only used for Plexamp. Is this normal behavior for nodejs?

Setup:
RaspberryPi 3b+
Plexamp 4.4.0 (installed from “Plexamp-Linux-headless-v4.4.0.tar.bz2”)
OS: Raspberry OS 64 bit VERSION=“11 (bullseye)” - fully updated
Node: v12.22.12

not normal at all, consider posting logs so we might be able to see what’s going on.

Thanks @elan

Can you let me know which logs you need?

To visualize the issue more, this is the Pi:s CPU usage. At the red arrow is a manual reboot:

The files in ~/.cache/Plexamp/log/

Thanks, I have attached the logs here and pm:ed you its password
log.zip (67.7 KB)

The last entry in your logs is 8:35 am.

It looks like you have play queue caching set to 15 tracks ahead, that can cause CPU usage on lower powered devices and/or slow SD cards. You can also make sure you have a network speed limit set (advanced / caching / network speed).

Happy to get you into Slack for more support, give me your email.

pm:ed my email

I have set one track ahead queue (seems to be lowest possible) and 10Mbit network limit

I start a stream and see if the problem comes back.

Following the modifications the load looks more reasonable:

(this is metrics from the PI)

OK, glad to hear! For some reason on the Pi (esp slower + with slow SD) I/O is expensive.

Indeed, just 3 IOPS at 800ms :stuck_out_tongue: - let’s say it’s quite slow …

:scream: did you get your SD card out of a child’s toy?

Hey it was probably very cheap at least :sweat_smile:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.