Jump to content

Emby Server seemingly hanging during Collections phase of library scan


Go to solution Solved by goldylox,

Recommended Posts

goldylox
Posted

Hello, I have an Emby server running via a docker container on Ubuntu. It's been running smooth for awhile but all the sudden when I do a full library scan, when the scan is done with the TV shows, the Emby server seemingly hangs and needs a docker restart to come back up. I can individually scan the libraries with no issue. It appears that a few collections are created every time I do a library scan. Maybe it's crashing during the Collection scan or generation part of the library scan?

As a note, I've tried to disable Collections auto-creation, but they are still being created. Not sure if that has anything to do with it.

 

Attached are a couple of embyserver logs from after crashes. Any help would be appreciated!

image.png

image.png

embyserver-63879377694.txt embyserver-63879377758.txt

  • Solution
goldylox
Posted

It looks like Emby just needed to run at 100% CPU (seen via docker stats) for an hour to get things sorted. Not sure what it was doing, but it seems to be better now.

Happy2Play
Posted

Not sure if ffmpeg logs would show more as your transcodes in both logs return a 404 error at different segments of the same item (60136).

Posted

Hi, to improve the performance of your library scans and your server in general, consider removing these plugins:

2025-04-04 15:34:54.603 Info App: Loading RPDB, Version=1.0.3.2, Culture=neutral, PublicKeyToken=null from /config/plugins/RPDB.dll
2025-04-04 15:34:54.603 Info App: Loading Emby.Bulky, Version=1.0.20.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Emby.Bulky.dll
2025-04-04 15:34:54.603 Info App: Loading DeviceEditor, Version=1.0.0.1, Culture=neutral, PublicKeyToken=null from /config/plugins/DeviceEditor.dll
2025-04-04 15:34:54.603 Info App: Loading Emby.SubKiller, Version=1.0.0.9, Culture=neutral, PublicKeyToken=null from /config/plugins/Emby.SubKiller.dll

 

goldylox
Posted

I checked the transcode logs and it looks to be related to an episode of a TV show that was being watched, though nothing jumped out at me when I looked for errors. 

 

Thanks for the insight on the plugins, I've removed a couple that weren't being used anymore.

ffmpeg-transcode-1d63738c-f818-4ce9-bcc2-d4b4ab1fc270_1.txt

Posted

Hi, has this helped?

goldylox
Posted

I've refreshed all metadata for movies so they no longer generate collections and that has helped, no more hanging on full library scans. 

It does take a few minutes for the library scan to even start the scan, but nothing hangs or freezes for anyone so I'm not too concerned about that, thanks!

  • Thanks 1
goldylox
Posted

Looks like jellyfin running concurrently was causing the delay in start for the library scan. All's good now!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...