linuxserver / docker-emby

GNU General Public License v3.0
120 stars 40 forks source link

Emby crashes NAS when casting to chromecast #60

Closed 2lach closed 1 year ago

2lach commented 2 years ago

linuxserver.io

Ffmpeg transcoding process spikes CPU which results in the crash(es)

Expected Behavior

I should be able to stream mp4 videos to my chromecast from emby with the app.

Current Behavior

After the most recent emby update my NAS (open media vault) crashes whenever i use Emby. This occurs because of CPU overload. The reason behind this is ffmpeg transcodes the video. Last week i could stream mp4 videos from emby to chromecast via the emby app without any issues.

Steps to Reproduce

  1. upgrade to emby Linuxserver.io version:- 4.7.8.0-ls132 Build-date:- 2022-10-09T04:58:05-05:00
  2. cast with emby app to chromecast
  3. enter htop, glances or similar process viewer
  4. watch how ffmpeg goes crazy....

Environment

sysinfo

Command used to create docker container (run/create/compose/screenshot)


version: "2.1"
services:
  emby:
    image: lscr.io/linuxserver/emby:latest
    container_name: emby
    environment:
      - PUID=1000
      - PGID=1000
      - GIDLIST=44
      - TZ=Europe/Amsterdam
    volumes:
      - <path>/Config/Emby:/config
      - <path>/Tv:/tvshows
      - <path>/Movies:/movies
      - <path>/media:/media
    ports:
      - 8096:8096
    restart: on-failure:5 

Docker logs

docker logs emby.txt

this shows how my system process spikes when starting emby https://imgur.com/a/2NNFaaV

Don't dare to run it on chromecast again since then it was up to > 300% cpu usage and honestly my server is not a fancy machine and i don't really know how many more crashes the cpu can take 😿

Any advise on how to fix this would be much appreciated.

And while i'am here I just wanna say I have been using linuxserver docker images for years now, and this is the first time i ran into any issues (that i didn't cause myself) so just want send you all some ❤️ say thanks for all the AWESOME work you do! You guys truly rock!!!!

github-actions[bot] commented 2 years ago

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.