Jump to content

emby server unresponsive


Recommended Posts

revengineer
Posted (edited)

My windows emby server is repeatedly becoming unresponsive overnight. That is, the website no longer loads on the clients including in a web browser running directly on the server. If that happens, the service cannot be shut down. While the service control panel allows stopping the service and then reports as stopped, the underlying application does not shutdown even after waiting for several minutes. The application also cannot be stopped with admin privileges through the taskmanager or taskkill. Only a server reboot, which is extremely disruptive in a domain environment, brings emby back to life. If I remember correctly, this behavior has started with build 5911. The log is attached. hoping for a quick fix as this bug renders emby unusable on my network. Thank you in advance.

emby.log

Edited by revengineer
Posted

hi, as a test, can you try removing cover art and let me know if that has any impact?

 

if not, then please provide entire server logs from the time it went unresponsive. thanks.

  • Like 1
revengineer
Posted

Will try without coverart and report back. The attached log however was complete. I tried loading the web interface at ~9:30. I tried several clients to no avail. The attempts to load the emby web page do not even show in the logs. Then I tried to shut down at 9:37, and there are some entries related to this. However, the mediabrowser application never shut down.

revengineer
Posted

I turned coverart off. But before I could do so I had to reboot the server again because the admin website would not load. The log is attached. I tried to load the website at ~16:40, which is again not shown in log file.

emby2.log

Posted

Can you define would not load? Can you describe that a little? thanks.

SikSlayer
Posted (edited)

I am having the same issue....will post a log in a moment but for now, the server is running in my tray, and I can't log into it.

The dashboard, nor front pages load up. No apps can access it.

 

Here is the log: server-63596516688.txt

Edited by SikSlayer
SikSlayer
Posted

Actually, I notice now that anything that tries to log in crashes the server.

Here's a log file of that happening: server-63596516688-NEW.txt

Posted

Actually, I notice now that anything that tries to log in crashes the server.

Here's a log file of that happening: attachicon.gifserver-63596516688-NEW.txt

2016-04-17 19:04:54.5427 Error ServerManager: The http server is unable to start due to a Socket error. This can occasionally happen when the operating system takes longer than usual to release the IP bindings from the previous session. This can take up to five minutes. Please try waiting or rebooting the system.
SikSlayer
Posted

A simple reboot was all it took.

...............WTF is that *^&% about?!  :blink:

 

In any case, thanks.

revengineer
Posted

Can you define would not load? Can you describe that a little? thanks.

None of the emby ui shows in browser. Browser does not time out, spins wheel indicating that it keeps trying to load.

 

After disabling coverage, emby server is still responsive this morning. Maybe the recent coverlet update introduced the issue. Will keep monitoring and report back if anything changes.

revengineer
Posted

 

2016-04-17 19:04:54.5427 Error ServerManager: The http server is unable to start due to a Socket error. This can occasionally happen when the operating system takes longer than usual to release the IP bindings from the previous session. This can take up to five minutes. Please try waiting or rebooting the system.

This is very clearly not my issue and if problems persist should be pursued in a separate thread.

  • Like 1
Posted

A simple reboot was all it took.

...............WTF is that *^&% about?!  :blink:

 

In any case, thanks.

 

Next time it happens, see if there is an ffmpeg process running (without someone actually streaming something).

revengineer
Posted

Next time it happens, see if there is an ffmpeg process running (without someone actually streaming something).

This does also not apply to the OPs issue.
revengineer
Posted

At this point, the server is still responsive pointing increasingly to an issue with coverart.

Posted

Thanks for the info.

revengineer
Posted

I was wrong. Got home from work and the server was out to lunch again. So it's not coverart. So it happened between 2 pm and ~6:30 pm. The logs is attached. I now updated to v5930 so see if that makes a difference.

 

There should really be an option to not autoupdate. I rather stay on a stable version with less functionality than on a version with bells and whistles that never responds when I need the server.

emby3.log

revengineer
Posted

As an interesting note, at least during the last two incidents, the downloading of subtitles was interrupted.

ZachOfAllTrades
Posted

Luke,

 

I don't know the internals of this app, but I'd be tempted to count count revengineer's report as another possible case of a threading problem, quite possibly related to what was elsewhere reported about ffmpeg threads not closing. The error description in this log contains the message:

"There were not enough free threads in the ThreadPool to complete the operation."

revengineer
Posted

As I said above, ffmpeg is not the issue. No such threads are running at the time the server is nonresponsive.

 

On another note, the server is still running fine 24 hours after upgrading to v5930 with coverart. This is the longest the server was operational in a two week period. Will keep monitoring (and knocking on wood). 

revengineer
Posted

The problem just reoccurring. Server is not responding. I am now running v5931. The previous logs did not contain any useful information. Do I need to enable debug logging?

Posted

I am having similar issues. I did a complete reinstall with 3.0.5931.0 and the server will run, but no media are coming up on the web interface or my roku. I have restarted the server several times. It stays like this without end.

 

571a03fcdc6fa_ScreenShot20160422at175843

Posted

The system came back after I forced a cleanup of the database. It works now.

revengineer
Posted

The above issue is completely different from mine and irrelevant to this thread.

revengineer
Posted

I am attaching the log from this mornings incident. I notice that there are a lot of DLNA errors just before the log entries stop. Hint or coincidence?

emby4.log

Posted

I am attaching the log from this mornings incident. I notice that there are a lot of DLNA errors just before the log entries stop. Hint or coincidence?

 

as a test, can you try disabling the dnla server and dlna play to features? thanks.

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