Jump to content

Recommended Posts

Cirdecus
Posted (edited)

I've noticed recently that my Emby server is eating all of my available RAM and Virtual Memory.  Not sure why.  About twice a day it fills up and I have to hard reboot the server.  Checking error logs, i get this:

 

Windows successfully diagnosed a low virtual memory condition. The following programs consumed the most virtual memory: MediaBrowser.ServerApplication.exe (5356) consumed 32469495808 bytes, mbam.exe (2084) consumed 302198784 bytes, and svchost.exe (2244) consumed 73715712 bytes.

 

It's a pretty new install, within the last 4 months.  

 

Also started having an issue within the WMC client where all movies and TV shows no longer let you fast forward or rewind.  You can only start over at the beginning.  

 

Any ideas?
 

My library isn't huge, maybe 700 Movies, 1500 TV Shows, but its about 20TB total.  Photos, games, etc.  Haven't really had an issue with RAM before.

 

 

Also saw this in the emby logs:

 

Exception of type 'System.OutOfMemoryException' was thrown.
System.OutOfMemoryException
   at System.Data.SQLite.SQLite3.GetValue(SQLiteStatement stmt, SQLiteConnectionFlags flags, Int32 index, SQLiteType typ)
   at System.Data.SQLite.SQLiteDataReader.GetValue(Int32 i)
   at System.Data.SQLite.SQLiteDataReader.GetBoolean(Int32 i)
   at MediaBrowser.Server.Implementations.Sync.SyncRepository.GetJobItem(IDataReader reader)
   at MediaBrowser.Server.Implementations.Sync.SyncRepository.GetJobItemReader[T](SyncJobItemQuery query, String baseSelectText, Func`2 itemFactory)
   at MediaBrowser.Server.Implementations.Sync.SyncRepository.GetJobItems(SyncJobItemQuery query)
   at MediaBrowser.Server.Implementations.Sync.SyncManager.GetJobItems(SyncJobItemQuery query)
   at MediaBrowser.Server.Implementations.Sync.SyncJobProcessor.UpdateJobStatus(String id)
   at MediaBrowser.Server.Implementations.Sync.SyncJobProcessor.<>c__DisplayClass85.<<Sync>b__82>d__87.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_1(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
Edited by Cirdecus
Happy2Play
Posted

Since this appears to be Sync related, I believe it is discussed more here.

Cirdecus
Posted

Thanks Happy, I think you're right, tons of sync jobs for hundreds of thousands of folders going to a device called Gd.  My guess is google drive, maybe the plugin is auto syncing these and is killing my environment.  I don't even use google drive and none of the pictures were on my gmail/drive account so i'm not sure where this was coming from.

 

Hope thats it!

JeremyFr79
Posted

Make sure you don't have any unprotected accounts, I recently migrated from physical to VM and in the process the password of 2 user accounts was wiped (unbeknownst to me) at any rate I quickly had someone or someones logging onto my emby server from IPs that traced back to Ireland, Spain, and somewhere else, the weird thing is they'd watch content for like 5 minutes and then go to something else.  Anyways quickly realized this was happening rebuilt everything from scratch.  Had 2 failed attempts at login from unknown IPs and then nothing.  You may have someone external who you don't want having access trying to essentially download your entire library through the Sync function.

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