Jump to content

MB3 server crashes with: System.IO.IOException in LOG (.JSON file in use ?)


Peter Nent

Recommended Posts

Peter Nent

Dear friends!,

 

As longterm MB3 satisfied user, I'm having lately more-and-more problems with MB3 server (On a WS2012R2 server, quad core CPU, 16GB RAM with approx. 20TB HDD-storage, MB3 starting as a service): MB3 server crashes sometimes. Looking into the logfile 'unhandled_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.txt file, it reports (in the DUTCH language):

 

Kan geen toegang krijgen tot het bestand \\Gavilan\ssd\MediaBrowser\Cache\devices\2b251e514e805b15bdbb8a6da7c88ec2.json omdat het wordt gebruikt door een ander proces.
System.IO.IOException
   bij System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   bij System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   bij System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   bij MediaBrowser.Common.Implementations.Serialization.JsonSerializer.SerializeToFile(Object obj, String file)
   bij MediaBrowser.Server.Implementations.Session.SessionManager.<SaveCapabilities>d__e5.MoveNext()
--- Einde van stacktracering vanaf vorige locatie waar uitzondering is opgetreden ---
   bij System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   bij System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   bij MediaBrowser.Server.Implementations.Session.SessionManager.<ReportCapabilities>d__e2.MoveNext()
--- Einde van stacktracering vanaf vorige locatie waar uitzondering is opgetreden ---
   bij System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__5(Object state)
   bij System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
   bij System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   bij System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   bij System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   bij System.Threading.ThreadPoolWorkQueue.Dispatch()
   bij System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

 

 

It seems that the .json file is beeing used at the same time by more-then-one MB3 process...?

 

Question: how can I solve this problem?

 

Thanks & best regards,

Peter

 

P.S.: note: my MB3 LOG-file (in: C:\Users\Administrator\AppData\Roaming\MediaBrowser-Server\logs) seems to be very big: > 150MB....is it really neccessary to send it as attachment ?

unhandled_0b351167-0d6a-49bf-aae1-cf6a5ee8a992.txt

server-63547672566.txt

Edited by PeterNent
Link to comment
Share on other sites

The log file with this error is 150MB? I don't think that's even possible....

You should have multiple log files no? Could you add the last one? The one with the error?

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