Jump to content

Emby server is shutting down from nowhere


Recommended Posts

Daftpunkmx12
Posted

Hi, I've been having problems with my Emby server. It keeps stopping unexpectedly, and I don't know how to read or interpret the logs. Can anyone help me figure out if there's something wrong with my server or with the Emby server itself? Only the Emby server stops; the server itself doesn't shut down, and I have to run `service emby-server restart` to get it running again. I've attached the logs from before it shut down and after restarting the Emby server. I hope someone can help me. Thanks.
 

embyserver.txt embyserver-63907649703.txt

Posted

Hi, what do you mean by stops?

Daftpunkmx12
Posted
5 minutes ago, Luke said:

Hi, what do you mean by stops?

I’m watching something and from no apparently reason is unreachable, I need to execute restart to Emby server to wake up again

IMG_1034.jpeg

Posted

OK that’s strange. Are you able to update to Emby server 4.9 and see how that compares?

Daftpunkmx12
Posted
7 minutes ago, Luke said:

OK that’s strange. Are you able to update to Emby server 4.9 and see how that compares?

I already updated to 4.9 and it goes worst, it stops due high ram consuming, fortunately I made a full server backup before update and I made a downgrade to 4.8 again.

Posted

OK we’ll take a look at it. Thanks.

Daftpunkmx12
Posted
1 minute ago, Luke said:

OK we’ll take a look at it. Thanks.

I really appreciate it, thank you

  • Thanks 1
SajanSharmaNZ
Posted

I'm experiencing something similar after upgrading to the latest version from 4.8.11.0 - but it's causing my entire machine to power off (guessing emergency shutdown).

I've checked emby logs, journalctl, dmesg - and none of them have anything to hint what's causing it. I have been running 4.8.11.0 for a year without issue.

embyserver-63908081816.txt embyserver-63908084292.txt embyserver.txt

SajanSharmaNZ
Posted (edited)

I upgraded to the 4.10.0.4 beta version and the issue persists there too

Edited by SajanSharmaNZ
  • 1 month later...
Posted
On 03/03/2026 at 02:50, SajanSharmaNZ said:

I upgraded to the 4.10.0.4 beta version and the issue persists there too

Did you find any solution? I do upgrade again and still happen this 

SajanSharmaNZ
Posted
1 minute ago, Daftpunkmx12 said:

Did you find any solution? I do upgrade again and still happen this 

I ended up upgrading my PC and installed the latest version and everything seem to work fine again

Posted
2 minutes ago, SajanSharmaNZ said:

I ended up upgrading my PC and installed the latest version and everything seem to work fine again

Did you made a clean install or just upgrade over last version? I recently upgraded from 4.8.11.0 to 4.9.3.0 and Emby server is shutting down from nowhere, I need to execute “service Emby-server restart” to wake up. I attached the last log before gets inactive but I don’t know how to find/read/interpret any error or something.

embyserver-63911706273.txt

SajanSharmaNZ
Posted
12 minutes ago, Daftpunkmx12 said:

Did you made a clean install or just upgrade over last version? I recently upgraded from 4.8.11.0 to 4.9.3.0 and Emby server is shutting down from nowhere, I need to execute “service Emby-server restart” to wake up. I attached the last log before gets inactive but I don’t know how to find/read/interpret any error or something.

embyserver-63911706273.txt 21.7 MB · 0 downloads

Nothing obvious in those logs I can see that should have caused a crash. I would suggest trying to read some system logs to see if Out of Memory is killing the app?

Posted
7 minutes ago, SajanSharmaNZ said:

Nothing obvious in those logs I can see that should have caused a crash. I would suggest trying to read some system logs to see if Out of Memory is killing the app?

After upgrading Emby server uses more RAM memory and because of this server gets inactive, before upgrading this not happens in almost 1 month, do you know how much is the minimum of ram needed to work smoothly Emby ? I have only 6GB RAM memory but that’s was enough from almost last 2 years before 4.9.3.0 update 

SajanSharmaNZ
Posted
1 minute ago, Daftpunkmx12 said:

After upgrading Emby server uses more RAM memory and because of this server gets inactive, before upgrading this not happens in almost 1 month, do you know how much is the minimum of ram needed to work smoothly Emby ? I have only 6GB RAM memory but that’s was enough from almost last 2 years before 4.9.3.0 update 

The official docs for it a here but I feel these may be outdated now. 

https://emby.media/support/articles/System-Requirements.html

I've been running it from a machine with 16GB ram prior to my upgrade, now I have 64GB.

Posted
2 hours ago, Daftpunkmx12 said:

Did you made a clean install or just upgrade over last version? I recently upgraded from 4.8.11.0 to 4.9.3.0 and Emby server is shutting down from nowhere, I need to execute “service Emby-server restart” to wake up. I attached the last log before gets inactive but I don’t know how to find/read/interpret any error or something.

embyserver-63911706273.txtUnavailable

Hi, can you please reupload this? Thanks.

EmreWest
Posted

Hi, I have a similar issue and posted in the Docker topic about it: 

I also had the problem on 4.9.3.0 and it still persists on the newest beta. I really want to avoid reinstalling everything since I have a pretty big library and already had to reset my database a few weeks ago due to a problem caused by a power outage. But even before that I had these problems of emby server crashing. Maybe there would be another fix? Would be nice to learn where to look for crash logs to see what causes the crashes.

Daftpunkmx12
Posted
Just now, EmreWest said:

Hi, I have a similar issue and posted in the Docker topic about it: 

I also had the problem on 4.9.3.0 and it still persists on the newest beta. I really want to avoid reinstalling everything since I have a pretty big library and already had to reset my database a few weeks ago due to a problem caused by a power outage. But even before that I had these problems of emby server crashing. Maybe there would be another fix? Would be nice to learn where to look for crash logs to see what causes the crashes.

Try to set 64MB instead of 128mb on the DB settings and do a server reboot, let me know if this helped you 

 

IMG_1595.jpeg

  • Like 1
EmreWest
Posted
2 minutes ago, Daftpunkmx12 said:

Try to set 64MB instead of 128mb on the DB settings and do a server reboot, let me know if this helped you 

 

IMG_1595.jpeg

I even had 512 in there lol

Thank you, changed it to 64, let's see how it goes.

Daftpunkmx12
Posted
Just now, EmreWest said:

I even had 512 in there lol

Thank you, changed it to 64, let's see how it goes.

It is too much, some changes was made in the DB and if you don’t have enough RAM this will be consumed with a couple of user’s when the app start 

 

  • Like 1
EmreWest
Posted
23 minutes ago, Daftpunkmx12 said:

It is too much, some changes was made in the DB and if you don’t have enough RAM this will be consumed with a couple of user’s when the app start 

 

Good to know thank you. I also found another topic in here talking about the transcode path and it defaulting to the RAM if not set up as a path on the drive:

I also created a mount for a local folder and use it as the transcode path in emby now.

Daftpunkmx12
Posted
19 minutes ago, EmreWest said:

Good to know thank you. I also found another topic in here talking about the transcode path and it defaulting to the RAM if not set up as a path on the drive:

I also created a mount for a local folder and use it as the transcode path in emby now.

I don’t really use transcode, all streams are direct play because I don’t have too much ram 😅

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...