snrgarb 0 Posted 50 minutes ago Posted 50 minutes ago Hello! I have been experiencing some zombie sessions (currently playing sessions that get stuck on paused OR once reaching the end don't close the session) occurring quite frequently. I've done some logging to determine what the cause is and it seems to be related to subtitles? I am wondering if anyone has experienced something similar. Normally this wouldn't be a problem with unlimited sessions but because I share with a few friends and my home internet is quite bad up, I limit people to 2 streams MAX to avoid my internet becoming affected. Some of the zombie sessions symptoms cause: My CPU getting pegged at 100% until I restart Emby which causes other services to be affected. Session limits are being hit and users cannot play media as one of the zombie sessions are taking up one of their simultaneous slots. Transcode temp directories are not being emptied so it endlessly grows upwards of multiple GBs. Some of the steps I've taken to try and fix this are: Restarting Emby (clear winner, sometimes those zombies sessions survive a restart). Restarting the server to clear any ffmpeg processes (often nuclear option, rarely happens but most of my friends use subtitles). Writing a grim reaper script that detects these sessions and attempt to clear the ffmpeg process + clean up any related transcoding folders. Moving my Emby server onto a separate VM so that the storage node is not affected. I guess this kinda turns into a feature request but, is it possible to have an API endpoint that can properly kill sessions and action any fast follows? For the developers of Emby, let me know if you need any troubleshooting logs. Is there any ffmpeg patches that are applied on beta that are not in stable? I don't remember running into this issue on stable! Regards, Gabe.
Luke 42888 Posted 44 minutes ago Posted 44 minutes ago Hi there, please attach the Emby server log from when the problem occurred: How to Report a Problem Thanks!
snrgarb 0 Posted 43 minutes ago Author Posted 43 minutes ago Just gathering these now for you @Luke. The post will be updated shortly!
snrgarb 0 Posted 17 minutes ago Author Posted 17 minutes ago (edited) Apologies in advance for the AI prepared tarball but I have been trying to work with Claude to understand the root issues for the last 2 months and it has all the memory stored! @LukePlease see the attached tarball for multiple logs. It contains a mixed usage of software encoding + hardware accelerated encoding. Let me know if you require anything else! NOTE: Tarball is 3.9MB and gets extracted to around 45MB and contains 10 text files. emby-stuck-sessions-logs.tar.gz Edited 16 minutes ago by snrgarb Typo
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now