Crash while using Jellyfin

Required Information

  • DietPi version | G_DIETPI_VERSION_CORE=8
    G_DIETPI_VERSION_SUB=23
    G_DIETPI_VERSION_RC=3
    G_GITBRANCH=‘master’
    G_GITOWNER=‘MichaIng’
    G_LIVE_PATCH_STATUS[0]=‘applied’
    G_LIVE_PATCH_STATUS[1]=‘applied’
  • Distro version | bookworm 0
  • Kernel version | Linux DietPi 6.1.21-v8+ #1642 SMP PREEMPT
  • Architecture | arm64
  • SBC model | RPi 4 Model B (aarch64)
  • SD card used | SanDisk

Additional Information (if applicable)

  • Software title | Jellyfin ?
  • Was the software title installed freshly or updated/migrated? It was freshly installed but the libraries were migrated.

From time to time, when I watch a movie with Jellyfin the system crashes. I can’t reach it via ssh and the Jellyfin server is unavailable. (I may be related or not but when it happened an update -for a patch or FFmpeg- was announced in the console).

How can I see what happened?

Thanks in advance.

You can check the journal with journalctl -u jellyfin.
Do you have any HDD/SSD externally attached or is everything stored on the SD?

I doubt this is working as the system is not reachable after the crash. And after reboot, logs are empty. This only works if logs would be switched to persistent logging.

Thank you for your answer.

Some of the error I found are:

[ERR] Error in ffprobe

Cannot compute blurhash for /mnt/XXXXX/fanart.jpg → I’ve erased this file.

[WRN] Slow HTTP Response from

I have two hard drives attached to the pi properly powered.

Last night, after playing a movie for 40 minutes it crashed again.

Could the problem be related to a memory issue?

While running some Jellyfin tasks memory goes up.

Any ideas?

Could be, you can create a swap file of at least 2 GB and check how it is going

Thank you for your answer.

Should I run: /boot/dietpi/func/dietpi-set_swapfile 2048?

that would be one option. Another is to use Drive Manager

I couldn’t see the option there.

In other posts, I’ve read that increasing swap memory is a bad idea. Now IDK what to do…

Should I reinstall Jellyfin first?

Should I look for other issues?

Well if you are running out of memory, SWAP is a chance to survive. However it could slow down the system as memory will be written down to disk. You can give it a try to see how it goes. Just monitor resource consumption while watching.

Another option could be using zram.

Let me share another piece of information. I’ve disabled some containers and run free -m

As a result I got:

root@DietPi:~# free -m
               total        used        free      shared  buff/cache   available
Mem:            3794        1919         296          18        1608        1875
Swap:              0           0           0

My question is then, is the buff memory oversused? If so, is there a way to purge it?

You mean from Jellyfin? Honestly I don’t know as I don’t use this app.

Thank you for your answer.

I solved the issue by turning off some containers. Now, and after the last update too, everything seems to work as expected.