vaise 349 Posted October 5 Author Posted October 5 I close my MacBook down when im not using it, so the laptop is asleep I guess. I generally ALWAYS have an emby tab open when I am using the MacBook. Just on the admin page.
sa2000 880 Posted October 5 Posted October 5 1 hour ago, vaise said: I close my MacBook down when im not using it, so the laptop is asleep I guess. I generally ALWAYS have an emby tab open when I am using the MacBook. Just on the admin page. The Dashboard web pages where the Now Playing information shows, have websocket connections to the server which have data sent to them whilst there are playback sessions. We discovered that on Windows if the browser tab is suspended - eg when the browser detects it is not in focus and not current active tab, then the feeds from the server buffer up leading to memory usage increase over time. If you do normally have a dashboard tab open, see if closing that browser tab before the machine gets put to sleep makes a difference
Uncle_Frank 18 Posted October 5 Posted October 5 (edited) I never seen anything like that before holy smokes, I just checked mine and not using much of anything thankfully. Edited October 5 by Uncle_Frank
vaise 349 Posted October 5 Author Posted October 5 I am not closing the emby management tab when not in use. I will report back. At least the system is recovering and I don't get harassed by users. I am going to lower the emby page not responding check to 3 minutes. Seems when the memory issue happens, it blows from 12 to 16 and dies in the same 5 minutes.
vaise 349 Posted October 7 Author Posted October 7 OK - Reporting back. I have stopped my normal process of having a management tab open in my safari browser all the time. That was Tuesday morning. Its now Thursday morning and under 4GB ram usage. I suspect its still early days yet, but I will report back next week. I assume if this is the issue, it will be fixed in a later release ?
yocker 2075 Posted October 8 Posted October 8 1 hour ago, vaise said: OK - Reporting back. I have stopped my normal process of having a management tab open in my safari browser all the time. That was Tuesday morning. Its now Thursday morning and under 4GB ram usage. I suspect its still early days yet, but I will report back next week. I assume if this is the issue, it will be fixed in a later release ? What plugins are you using?
sa2000 880 Posted October 8 Posted October 8 1 hour ago, vaise said: I assume if this is the issue, it will be fixed in a later release ? There is an open issue for this and there was an attempt to fix it but the issue remains.
vaise 349 Posted October 8 Author Posted October 8 40 minutes ago, yocker said: What plugins are you using? I posted above that I removed them all except the shipped plus the playback reporting, discord.
yocker 2075 Posted October 13 Posted October 13 @sa2000I noticed that people that just shut down their TV or pause their player mid stream while transcode is happening causes high memory use that doesn't seem to get released when the stream is finally stopped. This is after a couple of days without transcoding enabled on the server. Huge difference next to the nearly 2GB it could use sometimes.
vaise 349 Posted October 13 Author Posted October 13 Reporting back for an update - Since I stopped having the browser sitting on the emby dashboard, I have not had any crashes to date. This is by far the longest I have been.
vaise 349 Posted October 13 Author Posted October 13 1 minute ago, yocker said: @sa2000I noticed that people that just shut down their TV or pause their player mid stream while transcode is happening causes high memory use that doesn't seem to get released when the stream is finally stopped. This is after a couple of days without transcoding enabled on the server. Huge difference next to the nearly 2GB it could use sometimes. I very rarely have transcoding. I generally get a better media file, of convert it if I see that. It still could contribute however. My son was away and using his MacBook, and changed his quality right down to save his mobile phone data - and that def was transcoding. Two of the crashes were while he was away...... its not conclusive but.........
sa2000 880 Posted October 14 Posted October 14 1 hour ago, yocker said: noticed that people that just shut down their TV or pause their player mid stream while transcode is happening causes high memory use that doesn't seem to get released when the stream is finally stopped. The playback memory issues i have seen are all relating to having an emby server dashboard session which would show the Now Playing streams but the tab is not active or current. With regards to transcoding - the transcoder may continue to run but the impact should be on disc space and not memory unless the transcoding temp directory is setup in RAM
sa2000 880 Posted October 14 Posted October 14 1 hour ago, vaise said: Since I stopped having the browser sitting on the emby dashboard So this was a browser session running on a MacBook ? Which browser ? and the macbook is going to sleep ?
vaise 349 Posted October 14 Author Posted October 14 28 minutes ago, sa2000 said: So this was a browser session running on a MacBook ? Which browser ? and the macbook is going to sleep ? Yep - I have a new MacBook Air M5 - This does not watch emby shows, but I always had the emby dashboard on my tabs - and it would go to sleep, wake up etc etc. If you are referring to my sons laptop I mentioned when that is away - its a MacBook M3 I think. That's does not use the dashboard but the emby app installed, and he has it transcoding. 1
vaise 349 Posted October 14 Author Posted October 14 34 minutes ago, sa2000 said: The playback memory issues i have seen are all relating to having an emby server dashboard session which would show the Now Playing streams but the tab is not active or current. With regards to transcoding - the transcoder may continue to run but the impact should be on disc space and not memory unless the transcoding temp directory is setup in RAM Transcoding does to go to NVME disk - and verified as such. 1
Solution vaise 349 Posted October 23 Author Solution Posted October 23 I guess I can close this off. The 'issue' is still there - I am just no longer 'looking' at the users in the emby console. My emby system restarts each week when the appdata backup is scheduled. My monitoring seems to show the max the memory gets to is 8.5GB. No crashes. 1
s0m3f00l 0 Posted October 28 Posted October 28 The docker seems to keep creeping up in RAM. Not sure whats going on tbh.
s0m3f00l 0 Posted October 28 Posted October 28 Anyone else noticing the docker image is creeping up in memory usage? I have to restart once a week or it just keeps going until the host fails.
Luke 43542 Posted October 28 Posted October 28 1 hour ago, s0m3f00l said: The docker seems to keep creeping up in RAM. Not sure whats going on tbh. Hi there, please attach the Emby server log from when the problem occurred: How to Report a Problem Thanks!
Trevor68 70 Posted October 28 Posted October 28 mine is using 900mb memory right now, I have no idea if that's good or bad though.
kmcmurtrie 4 Posted October 28 Posted October 28 In native Ubuntu, I see 300MB to 500MB resident but the virtual address space always 262GB. That's pretty wild, even for a video server. I wonder if that's causing issues in containerization.
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