New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Issue]: 10.9.0 - RAM keeps steadily increasing #11551
Comments
Hi, it seems like your issue report has the following item(s) that need to be addressed:
This is an automated message, currently under testing. Please file an issue here if you encounter any problems. |
Hello, bot, I am on the latest release. |
@nothing2obvi sorry the script wasn't updated until a few minutes ago As for the memory problem, please just keep an eye on it and see where it stops increasing then report back. |
Hi, thanks for your response. I really would just let it sit but my server has only 8 GB of RAM, so it was already starting to affect my other services. I've had to restore my 10.8.13 files from backup and will be using that for a while. When I have time I'll boot up a 10.9.0 instance on another computer and see how it goes. |
I also observe higher memory usage, but it seems to cap out around 4G. Using the restart button on the dashboard does not free any memory. However restarting using systemctl seems to knock it back down to normal levels in the 512M range. I wonder if it got bloated because the initial rescan and audio normalization run. Will keep an eye out. Edit: a scan all seems to have it increase to around 4G, gaining about 1-2M per second until the scan is finished. It takes 3ish scans for it to cap out around 4G for me. |
I've done a little bit of investigating into this issue. On Docker at least (with the offical jellyfin image), after playback (or anything that uses ffmpeg) not all sub processes appear to cleaned up after playback and that appears to get worse with the number of streams started. Screenshots: |
After restarting the container it seems to settle down to around 1 GB, which I'm fine with. However, I'll leave this issue open as others seem to have a similar issue. |
I spoke too soon. Even just during one stream (with no transcoding) the RAM will increase up to around 1.8 GB and then my Jellyfin instance will crash and restart. Never had this behavior on 10.8.13. I could play up to at least 5 streams with ease. |
I also have a lot of problems with memory consumption, whereas Jellyfin never uses more than 4GB ( 10.8.x ) . Now it requires more than 13GB for a single stream ... and goes up to 18GB. 10.9.2 doesn't solve this problem :( Edit : Jellyfin official docker image 10.9.3 |
Wondering if this issue gets resolved with #11670 ? |
@EVOTk OOC when is your intro skipper scan running? |
Also just thought i would add i was seeing memory ballooning in 10.8 |
@EVOTk Have you tried disable intro skipper plugin, restart container, and see if it happens again? |
@EVOTk May I ask what program you're using to get those graphs for memory? I'd like to try this with my own Jellyfin instance. |
Hello, it's Portainer https://docs.portainer.io/start/install-ce |
its something ffmpeg related, as that's what intro skipper uses to do its thing. @EVOTk that drop caches command what is that? is that a schedule task that runs? |
This is a command I've been told to use when Jellyfin uses too much RAM so that Jellyfin is usable. |
Please describe your bug
I don't have the exact numbers, but I don't think 10.8.13 ever used RAM over 750 MB for me. I think it was even lower than that. It's definitely never reached 1 GB, though, even with multiple streams. So far, I have one 1080p stream with no transcoding going on for Jellyfin 10.9.0, the RAM used is now at 1.88 GB, and it just keeps increasing. I have no resource limits set on Docker.
Is this expected behavior? I expected it to stay at its usual levels from 10.8.13. I'm concerned because my server doesn't have a lot of RAM but 10.8.13 worked perfectly on it.
Reproduction Steps
Jellyfin Version
10.9.0
if other:
No response
Environment
Jellyfin logs
FFmpeg logs
No response
Please attach any browser or client logs here
No response
Please attach any screenshots here
Code of Conduct
The text was updated successfully, but these errors were encountered: