Jellyfin Forum
High CPU Usage - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: High CPU Usage (/t-high-cpu-usage--5284)

Pages: 1 2


RE: High CPU Usage - AyaanMAG - 2024-04-08

(2024-04-08, 04:28 PM)TheDreadPirate Wrote: What is the process name that is currently consuming CPU?  Is it Jellyfin or ffmpeg/ffprobe?

Process name according to btop with the high cpu usage is jellyfin not ffmpeg or ffprobe

@TheDreadPirate


RE: High CPU Usage - Fate - 2024-04-09

can you see the whole process commandline? (press c in atop or top)


RE: High CPU Usage - TheDreadPirate - 2024-04-09

In btop you can get the PID then run "ps -aux | grep PID"


RE: High CPU Usage - AyaanMAG - 2024-04-10

(2024-04-09, 03:39 PM)TheDreadPirate Wrote: In btop you can get the PID then run "ps -aux | grep PID"
@Fate @TheDreadPirate

Code:
❯ ps -aux | grep 377250
jellyfin  377250  100  2.4 4817424 205360 ?      Ssl  Apr09 1650:31 /usr/bin/jellyfin --webdir=/usr/share/jellyfin/web --restartpath=/usr/lib/jellyfin/restart.sh --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg
MAGPi    1034404  0.0  0.0  6240  1536 pts/1    S+  09:51  0:00 grep --color=auto 377250



RE: High CPU Usage - TheDreadPirate - 2024-04-10

And you haven't run out of memory? What file system is the SD card using? EXT4?


RE: High CPU Usage - AyaanMAG - 2024-04-11

(2024-04-10, 01:41 PM)TheDreadPirate Wrote: And you haven't run out of memory?  What file system is the SD card using?  EXT4?

I used the Raspberry Pi flasher to make it so yes it's ext4 and no root has 59% (137GB) free


RE: High CPU Usage - TheDreadPirate - 2024-04-11

The only thing I can think of is that it is running out of RAM or it is caching database changes because the SD card can't keep up. I've only seen this problem on RPis.