Jump to content

Instabilities with linux


inkubux

Recommended Posts

I'm trying to run MB server on linux ubuntu and debian

 

One of my sever is with Ubuntu 14.04 on a relatively low powered Atom processor (eeebox) server and one on another quad core ARM (cubox-i 4 pro) server running Debian wheezy (with all the dependencies like libwebp5, mediainfo and sqlite)

 

One of my goal is to have a low powered server and to encode my media properly for my clients. therefore all my media is in mp4 with AAC 2 channel most of them are High profile (no luck for the android direct stream with the MB App, but BS Player works well as an external player). So yes my server is not powerful enough to transcode but it is sufficient to direct stream 2 or 3 stream simultaneously

 

But I get a lot of crashes from MB server (more crash on the ARM server), but still lots of crashes on my Atom server as well.

 

I almost can't finish to stream a movie on any clients. it usually takes from 10m to 60m before this crash happens.

 

My clients are (Web browser, Roku 2 XD, Chromecast, Android (Nexus 4,  Asus TF101 Tablet), IPad Air and PS3.

 

My main goal is to move from PLEX to MB because the devs and the community are awesome, but these instabilities keep me from adopting MB as my main Media server.

 

Thanks for your awesome product

 

I usually build a new version of MB every week, I also tried the deb package on ubuntu but still the same crashes.

 

I have attached a typical server and crash log

server.txt

crash.txt

Link to comment
Share on other sites

Ok, thanks. We'll look at this specific issue. Keep in mind we haven't done any arm testing yet, so until that happens problems should be expected. but since they're happening on your atom server, we should be able to take care of them.

  • Like 1
Link to comment
Share on other sites

Ok, thanks. We'll look at this specific issue. Keep in mind we haven't done any arm testing yet, so until that happens problems should be expected. but since they're happening on your atom server, we should be able to take care of them.

 

Thanks Luke, looking forward what to see you can find on my specific issues.

Link to comment
Share on other sites

Here is another one from this morning when playing on my Roku. this time it took less than 5 minutes for the server to crash

 

If there is anything you need from me to investigate more on the subject, just let me know.

 

Thanks again for your support.

Log.txt

crash.txt

Link to comment
Share on other sites

also noticing general instability on Linux 

 

This is all over the logs

 

```

Invalid Guid format: -1
System.FormatException
 at System.Guid..ctor (System.String g) [0x00000] in <filename unknown>:0 
 at MediaBrowser.Server.Implementations.Session.SessionManager+<OnPlaybackProgress>c__async6.MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0 
 at MediaBrowser.Dlna.PlayTo.PlayToController+<_device_PlaybackProgress>c__async4.MoveNext () [0x00000] in <filename unknown>:0
```
 
Had something with tasks explode the server as well. 
Link to comment
Share on other sites

  • 3 weeks later...

Since migrating from windows to linux server I've had some stability issues, but they just keep getting worse, and MBS crash at least on a daily basis. 

 

Here are some crash logs:

Object reference not set to an instance of an object

System.NullReferenceException

at System.Threading.Tasks.TaskContinuation.ContinuationStatusCheck (TaskContinuationOptions kind) [0x00000] in <filename unknown>:0

at System.Threading.Tasks.TaskContinuation.Execute () [0x00000] in <filename unknown>:0

at System.Threading.Tasks.Task.ContinueWith (IContinuation continuation, Boolean canExecuteInline) [0x00000] in <filename unknown>:0

at System.Threading.Tasks.Task.ContinueWithCore (System.Threading.Tasks.Task continuation, TaskContinuationOptions options, System.Threading.Tasks.TaskScheduler scheduler) [0x00000] in <filename unknown>:0

at System.Threading.Tasks.Task`1[System.Threading.Tasks.Task].ContinueWith (System.Action`2 continuationAction, System.Object state, CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) [0x00000] in <filename unknown>:0

at System.Threading.Tasks.TaskExtensionsImpl.Unwrap (System.Threading.Tasks.Task`1 task) [0x00000] in <filename unknown>:0

at System.Threading.Tasks.Task.Run (System.Func`1 function, CancellationToken cancellationToken) [0x00000] in <filename unknown>:0

at System.Threading.Tasks.Task.Run (System.Func`1 function) [0x00000] in <filename unknown>:0

at MediaBrowser.Server.Implementations.ServerManager.ServerManager+<ProcessWebSocketMessageReceived>c__async0+<ProcessWebSocketMessageReceived>c__AnonStorey15.<>m__0 (IWebSocketListener i) [0x00000] in <filename unknown>:0

at System.Linq.Enumerable+<CreateSelectIterator>c__Iterator10`2[MediaBrowser.Common.Net.IWebSocketListener,System.Threading.Tasks.Task].MoveNext () [0x00000] in <filename unknown>:0

at System.Collections.Generic.List`1[System.Threading.Tasks.Task].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0

at System.Collections.Generic.List`1[System.Threading.Tasks.Task]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0

at System.Threading.Tasks.Task.WhenAll (IEnumerable`1 tasks) [0x00000] in <filename unknown>:0

at MediaBrowser.Server.Implementations.ServerManager.ServerManager+<ProcessWebSocketMessageReceived>c__async0.MoveNext () [0x00000] in <filename unknown>:0
one more
The underlying Task is already in one of the three final states: RanToCompletion, Faulted, or Canceled.

System.InvalidOperationException

at System.Threading.Tasks.TaskCompletionSource`1[System.Object].ThrowInvalidException () [0x00000] in <filename unknown>:0

at System.Threading.Tasks.TaskCompletionSource`1[System.Object].SetException (IEnumerable`1 exceptions) [0x00000] in <filename unknown>:0

at System.Threading.Tasks.TaskCompletionSource`1[System.Object].SetException (System.Exception exception) [0x00000] in <filename unknown>:0

at System.Threading.Tasks.TaskFactory`1[System.Object].InnerInvoke (System.Threading.Tasks.TaskCompletionSource`1 tcs, System.Func`2 endMethod, IAsyncResult l) [0x00000] in <filename unknown>:0

at System.Threading.Tasks.TaskFactory`1+<FromAsyncBeginEnd>c__AnonStorey5`3[System.Object,System.Byte[],System.Int32,System.Int32].<>m__0 (IAsyncResult l) [0x00000] in <filename unknown>:0

Another
 


	
		Response Status
	
		
			
				Error Code
			
				InvalidOperationException
			
				Message
			
				Sequence contains no matching element
			
				Stack Trace
			
				[GetLogFile: 11/5/2014 4:55:13 PM]: [REQUEST: {Name:crash_a9439dce-8f7d-43f2-9e36-205123285380.txt}] System.InvalidOperationException: Sequence contains no matching element at System.Linq.Enumerable.First<System.IO.FileInfo> (System.Collections.Generic.IEnumerable`1<System.IO.FileInfo>,System.Func`2<System.IO.FileInfo, bool>,System.Linq.Enumerable/Fallback) <0x00117> at System.Linq.Enumerable.First<System.IO.FileInfo> (System.Collections.Generic.IEnumerable`1<System.IO.FileInfo>,System.Func`2<System.IO.FileInfo, bool>) <0x00043> at MediaBrowser.Api.System.SystemService.Get (MediaBrowser.Api.System.GetLogFile) <0x00197> at (wrapper dynamic-method) object.lambda_method (System.Runtime.CompilerServices.Closure,object,object) <0x00074> at ServiceStack.Host.ServiceRunner`1<MediaBrowser.Api.System.GetLogFile>.Execute (ServiceStack.Web.IRequest,object,MediaBrowser.Api.System.GetLogFile) <0x00345>
			
				Errors
			

 

 


 

 

Link to comment
Share on other sites

danyboy666

mine crashes so bad it doesn't even have time to write logs :/

Object reference not set to an instance of an object
System.NullReferenceException
  at System.IO.InotifyWatcher.ProcessEvents (System.Byte[] buffer, Int32 length) [0x00000] in <filename unknown>:0 
  at System.IO.InotifyWatcher.Monitor () [0x00000] in <filename unknown>:0 
  at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0 

and the lastest:

 

crash_61bbcdba-e9b1-42cc-ac60-9966a5b228e9.txt

Object reference not set to an instance of an object
System.NullReferenceException
  at MediaBrowser.Dlna.PlayTo.Device.RestartTimerInactive () [0x00000] in <filename unknown>:0 
  at MediaBrowser.Dlna.PlayTo.Device+<TimerCallback>c__async9.MoveNext () [0x00000] in <filename unknown>:0 

Link to comment
Share on other sites

 

mine crashes so bad it doesn't even have time to write logs :/

Object reference not set to an instance of an object
System.NullReferenceException
  at System.IO.InotifyWatcher.ProcessEvents (System.Byte[] buffer, Int32 length) [0x00000] in <filename unknown>:0 
  at System.IO.InotifyWatcher.Monitor () [0x00000] in <filename unknown>:0 
  at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0 

and the lastest:

 

crash_61bbcdba-e9b1-42cc-ac60-9966a5b228e9.txt

Object reference not set to an instance of an object
System.NullReferenceException
  at MediaBrowser.Dlna.PlayTo.Device.RestartTimerInactive () [0x00000] in <filename unknown>:0 
  at MediaBrowser.Dlna.PlayTo.Device+<TimerCallback>c__async9.MoveNext () [0x00000] in <filename unknown>:0 

 

For the first one try disabling the realtime monitor. the second one can be resolved for the next release.

  • Like 1
Link to comment
Share on other sites

danyboy666

For the first one try disabling the realtime monitor. the second one can be resolved for the next release.

I'll give it a go for a couple days. Does MB scan the libraries if we disable that option? How can i confirm it's actualy rtm that is causing those carshes? (btw i had another one yesterday but i have't had disabled the feature yet)

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
×
×
  • Create New...