Jump to content

Emby server stops running every day


miket5au
 Share

Recommended Posts

I have a Synology 1815+ with 16GB RAM installed. Every day I have to tell Emby to run as it has stopped running.

 

I don't have any information in the logs ( I have just enabled debug logs) stating it is shutting down (the last few messages are about download subtitles failing due to rate limits - OpenSubtitles rate limit reached).

 

What should I check for the cause? Could the Synology OS be closing it down due to resource usage? Will the debug logs show more information now they are enabled?

Link to comment
Share on other sites

Hi there, welcome. Sorry to hear this. We would need to begin by looking at those server logs in order to provide an assessment. Thanks.

Link to comment
Share on other sites

solabc16

Hello @@miket5au

 

The DS1815+ is one of the test systems we use here, which is often running under test for weeks on end, so I don't belieive its a platform problem per se.

 

Can you send your support logs across, as per https://github.com/MediaBrowser/Wiki/wiki/Synology-:-How-to-Send-us-Support-Logs.

 

Did you mean 16GB RAM or 6GB RAM? The (officially) maximum supported configuration this h/w is 6GB, by adding a module RAM1600DDR3-4G.

 

- James

Link to comment
Share on other sites

miket5au

Hi James,

 

It is 16GB. I did my research and found that 16GB works if using Mac Mini memory. So, as I was giving my Mac Mini to my parents I took its 16GB. The DS1815+ has worked pefectly with 16GB. It runs my DHCP server (much more stable than the DHCP server in my iiNet router!) as well as a few other services.

The sendlogs output:Upload completed successfully, please include this filename with your ticket...sendlogs_storage4_synology_avoton_1815+_20161002T233617UTC.tgzThis is the last entry in the log for 30th September when the emby server stopped again (it ran for a few days before stopping).2016-09-30 10:59:20.0962 Error HttpClient: Error getting response from http://192.168.0.19:9000/plugins/UPnP/MediaRenderer/AVTransport/control?player=00%3A04%3A20%3A22%3A85%3A4b	*** Error Report ***	Version: 3.0.7200.0	Command line: /var/packages/EmbyServer/target/server/MediaBrowser.Server.Mono.exe -programdata /var/packages/EmbyServer/target/var -ffmpeg /var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/ffmpeg/bin/ffprobe	Operating system: Unix 3.10.77.0	Processor count: 4	64-Bit OS: True	64-Bit Process: True	Program data path: /var/packages/EmbyServer/target/var	Mono: 4.4.2 (Stable 4.4.2.11/f72fe45 Tue  2 Aug 20:01:59 UTC 2016)	Application Path: /volume1/@appstore/EmbyServer/releases/v3.0.7200/MediaBrowser.Server.Mono.exe	One or more errors occurred.	System.AggregateException	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x407b8130 + 0x0002b> in <filename unknown>:0 	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x407b7cf0 + 0x000cf> in <filename unknown>:0 	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x407b7b60 + 0x00097> in <filename unknown>:0 	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x407b7b10 + 0x0003b> in <filename unknown>:0 	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () <0x407b7aa0 + 0x00017> in <filename unknown>:0 	  at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager+<SendAsyncInternal>d__1d.MoveNext () <0x411d7bd0 + 0x01303> in <filename unknown>:0 	InnerException: System.Net.WebException	The remote server returned an error: (500) Internal Server Error.	  at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) <0x4124f490 + 0x00197> in <filename unknown>:0 	  at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (IAsyncResult iar, System.Func`2 endFunction, System.Action`1 endAction, System.Threading.Tasks.Task`1 promise, Boolean requiresSynchronization) <0x4124f090 + 0x00093> in <filename unknown>:0 	2016-09-30 10:59:20.0974 Error Dlna: Error updating device info for Squeezebox Touch	*** Error Report ***	Version: 3.0.7200.0	Command line: /var/packages/EmbyServer/target/server/MediaBrowser.Server.Mono.exe -programdata /var/packages/EmbyServer/target/var -ffmpeg /var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/ffmpeg/bin/ffprobe	Operating system: Unix 3.10.77.0	Processor count: 4	64-Bit OS: True	64-Bit Process: True	Program data path: /var/packages/EmbyServer/target/var	Mono: 4.4.2 (Stable 4.4.2.11/f72fe45 Tue  2 Aug 20:01:59 UTC 2016)	Application Path: /volume1/@appstore/EmbyServer/releases/v3.0.7200/MediaBrowser.Server.Mono.exe	One or more errors occurred.	MediaBrowser.Model.Net.HttpException	  at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager+<SendAsyncInternal>d__1d.MoveNext () <0x411d7bd0 + 0x01b63> in <filename unknown>:0 	--- End of stack trace from previous location where exception was thrown ---	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x407b8130 + 0x0002b> in <filename unknown>:0 	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x407b7cf0 + 0x000cf> in <filename unknown>:0 	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x407b7b60 + 0x00097> in <filename unknown>:0 	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x407b7b10 + 0x0003b> in <filename unknown>:0 	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () <0x407b7aa0 + 0x00017> in <filename unknown>:0 	  at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager+<SendAsync>d__7.MoveNext () <0x411ca800 + 0x00323> in <filename unknown>:0 	--- End of stack trace from previous location where exception was thrown ---	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x407b8130 + 0x0002b> in <filename unknown>:0 	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x407b7cf0 + 0x000cf> in <filename unknown>:0 	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x407b7b60 + 0x00097> in <filename unknown>:0 	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x407b7b10 + 0x0003b> in <filename unknown>:0 	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () <0x407b7aa0 + 0x00017> in <filename unknown>:0 	  at MediaBrowser.Dlna.PlayTo.SsdpHttpClient+<SendCommandAsync>d__0.MoveNext () <0x41344d80 + 0x0037f> in <filename unknown>:0 	--- End of stack trace from previous location where exception was thrown ---	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x407b8130 + 0x0002b> in <filename unknown>:0 	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x407b7cf0 + 0x000cf> in <filename unknown>:0 	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x407b7b60 + 0x00097> in <filename unknown>:0 	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x407b7b10 + 0x0003b> in <filename unknown>:0 	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () <0x407b7aa0 + 0x00017> in <filename unknown>:0 	  at MediaBrowser.Dlna.PlayTo.Device+<GetTransportInfo>d__84.MoveNext () <0x41342f60 + 0x005af> in <filename unknown>:0 	--- End of stack trace from previous location where exception was thrown ---	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x407b8130 + 0x0002b> in <filename unknown>:0 	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x407b7cf0 + 0x000cf> in <filename unknown>:0 	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x407b7b60 + 0x00097> in <filename unknown>:0 	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x407b7b10 + 0x0003b> in <filename unknown>:0 	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () <0x4135cea0 + 0x00013> in <filename unknown>:0 	  at MediaBrowser.Dlna.PlayTo.Device+<TimerCallback>d__54.MoveNext () <0x4133fe50 + 0x00323> in <filename unknown>:0 	InnerException: System.AggregateException	One or more errors occurred.	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x407b8130 + 0x0002b> in <filename unknown>:0 	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x407b7cf0 + 0x000cf> in <filename unknown>:0 	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x407b7b60 + 0x00097> in <filename unknown>:0 	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x407b7b10 + 0x0003b> in <filename unknown>:0 	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () <0x407b7aa0 + 0x00017> in <filename unknown>:0 	  at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager+<SendAsyncInternal>d__1d.MoveNext () <0x411d7bd0 + 0x01303> in <filename unknown>:0 	InnerException: System.Net.WebException	The remote server returned an error: (500) Internal Server Error.	  at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) <0x4124f490 + 0x00197> in <filename unknown>:0 	  at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (IAsyncResult iar, System.Func`2 endFunction, System.Action`1 endAction, System.Threading.Tasks.Task`1 promise, Boolean requiresSynchronization) <0x4124f090 + 0x00093> in <filename unknown>:0 	2016-09-30 10:59:20.12
Link to comment
Share on other sites

  • 2 weeks later...
miket5au

Did the log files show anything?

The sendlogs output:Upload completed successfully, please include this filename with your ticket...sendlogs_storage4_synology_avoton_1815+_20161002T233617UTC.tgz
Link to comment
Share on other sites

solabc16

Hello @@miket5au

 

Sorry for the delay in getting to this, I was a little tied up with the new releases and additional platform support.

 

I'll take a further look over the next couple of days.

 

In the meantime, a new release (3.0.8100) has just been published, if you want to upgrade to the latest version.

 

- James

Link to comment
Share on other sites

solabc16

Hi @@miket5au

 

The failures you've noticed have all been caused by segmentation violations (SIGSEGV) in the Mono runtime.

 

This is pretty unusual and not something I've seen reported outside of the package test programmes.

 

If you haven't updated to 3.0.8100, I would certainly suggest doing that, there are a couple of behaviours that I can see in the logs that are improved in this release.

 

Once you've done that, can you run the diagnostics (https://github.com/M...Run-Diagnostics) and send logs (https://github.com/M...us-Support-Logs) utilities.

 

Thanks

- James

Link to comment
Share on other sites

miket5au

Hi James,

 

I have upgraded.

 

Upload completed successfully, please include this filename with your ticket...
sendlogs_storage4_synology_avoton_1815+_20161015T231433UTC.tgz
 

The unexplained shutdowns of the emby server hasn't happened for at least a week now. It was happening nearly every day but it is now occuring every week or less.

 

Thanks,

Mick

Link to comment
Share on other sites

miket5au

My emby server was not running again yesterday. Its now on Version 3.0.8200.0

 


The unexplained shutdowns of the emby server hasn't happened for at least a week now. It was happening nearly every day but it is now occuring every week or less.
Link to comment
Share on other sites

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
 Share

×
×
  • Create New...