gardar 16 Posted February 28, 2016 Posted February 28, 2016 (edited) I've been running in to some out of memory issues. I did a quick search and found some suggestions that I should change the nursery size for mono from 512MB to 64MB MONO_ENV="MONO_THREADS_PER_CPU=500 MONO_GC_PARAMS=nursery-size=512m" I did that and my Emby server has been a lot more stable, but it's still crashing few times a week. Here's my emby-server.log after such a crash Info, Main, Emby Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -restartpath /usr/lib/emby-server/restart.sh Operating system: Unix 3.16.0.4 Processor count: 4 64-Bit OS: False 64-Bit Process: False Program data path: /var/lib/emby-server Mono: 4.2.1 (Stable 4.2.1.102/6dd2d0d Thu Dec 3 04:05:01 UTC 2015) Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe appHost.Init Info, App, Application version: 3.0.5871.0 Info, App, Application configuration: {"EnableUPnP":true,"PublicPort":8096,"PublicHttpsPort":8920,"HttpServerPortNumber":8096,"HttpsPortNumber":8920,"EnableHttps":false,"CertificatePath":"","EnableInternetProviders":true,"IsPortAuthorized":true,"MetadataPath":"","SeasonZeroDisplayName":"Specials","SaveLocalMeta":false,"EnableLocalizedGuids":true,"PreferredMetadataLanguage":"en","MetadataCountryCode":"US","SortReplaceCharacters":[".","+","%"],"SortRemoveCharacters":[",","&","-","{","}","'"],"SortRemoveWords":["the","a","an"],"MinResumePct":5,"MaxResumePct":95,"MinResumeDurationSeconds":300,"LibraryMonitorDelay":60,"EnableDashboardResponseCaching":true,"EnableDashboardResourceMinification":true,"DashboardSourcePath":"","ImageSavingConvention":"Compatible","MetadataOptions":[{"ItemType":"Book","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Movie","ImageOptions":[{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Art","Limit":0,"MinWidth":0},{"Type":"Banner","Limit":0,"MinWidth":0},{"Type":"Disc","Limit":0,"MinWidth":0},{"Type":"Logo","Limit":1,"MinWidth":0},{"Type":"Thumb","Limit":1,"MinWidth":0},{"Type":"Backdrop","Limit":2,"MinWidth":1280},{"Type":"Screenshot","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":["Emby Xml","Nfo"],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":["The Open Movie Database","TheMovieDb"],"DisabledImageFetchers":[],"ImageFetcherOrder":["TheMovieDb","FanArt","The Open Movie Database","Screen Grabber"]},{"ItemType":"Series","ImageOptions":[{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Art","Limit":0,"MinWidth":0},{"Type":"Banner","Limit":1,"MinWidth":0},{"Type":"Logo","Limit":1,"MinWidth":0},{"Type":"Thumb","Limit":1,"MinWidth":0},{"Type":"Backdrop","Limit":2,"MinWidth":1280},{"Type":"Screenshot","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":["Emby Xml","Nfo"],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":["The Open Movie Database","TheTVDB","TheMovieDb"],"DisabledImageFetchers":[],"ImageFetcherOrder":["TheTVDB","FanArt","TheMovieDb"]},{"ItemType":"MusicAlbum","ImageOptions":[{"Type":"Backdrop","Limit":0,"MinWidth":1280},{"Type":"Disc","Limit":0,"MinWidth":0}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicArtist","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Banner","Limit":0,"MinWidth":0},{"Type":"Art","Limit":0,"MinWidth":0},{"Type":"Logo","Limit":0,"MinWidth":0}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Season","ImageOptions":[{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Banner","Limit":1,"MinWidth":0},{"Type":"Thumb","Limit":1,"MinWidth":0},{"Type":"Backdrop","Limit":0,"MinWidth":1280},{"Type":"Screenshot","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":["Emby Xml","Nfo"],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":["TheMovieDb"],"DisabledImageFetchers":[],"ImageFetcherOrder":["TheTVDB","FanArt"]},{"ItemType":"Episode","ImageOptions":[{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Backdrop","Limit":3,"MinWidth":1280},{"Type":"Screenshot","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":["Emby Xml","Nfo"],"DisabledMetadataFetchers":["The Open Movie Database"],"MetadataFetcherOrder":["TheTVDB"],"DisabledImageFetchers":[],"ImageFetcherOrder":["TheTVDB","TheMovieDb","Screen Grabber"]},{"ItemType":"MusicVideo","ImageOptions":[{"Type":"Backdrop","Limit":3,"MinWidth":1280}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Video","ImageOptions":[{"Type":"Backdrop","Limit":3,"MinWidth":1280}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]}],"EnableAutomaticRestart":true,"PathSubstitutions":[],"WanDdns":"149.126.83.41","UICulture":"en-us","PeopleMetadataOptions":{"DownloadActorMetadata":true,"DownloadDirectorMetadata":true,"DownloadProducerMetadata":false,"DownloadWriterMetadata":false,"DownloadComposerMetadata":false,"DownloadOtherPeopleMetadata":false,"DownloadGuestStarMetadata":false},"FindInternetTrailers":true,"InsecureApps9":["Chromecast","iOS","Unknown app","iPad","iPhone","Windows Phone"],"SaveMetadataHidden":false,"ContentTypes":[],"EnableAudioArchiveFiles":false,"EnableVideoArchiveFiles":false,"RemoteClientBitrateLimit":0,"DenyIFrameEmbedding":true,"EnableLibraryMonitor":"Enabled","SharingExpirationDays":30,"EnableWindowsShortcuts":false,"EnableDateLastRefresh":false,"Migrations":["5767.1","MediaBrowser.Server.Startup.Common.Migrations.OmdbEpisodeProviderMigration"],"MigrationVersion":20,"EnableDebugLevelLogging":true,"EnableAutoUpdate":true,"SystemUpdateLevel":"Release","LogFileRetentionDays":3,"RunAtStartup":false,"IsStartupWizardCompleted":true,"EnableCustomPathSubFolders":true} Info, App, Loading AutoBoxSets, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null Info, App, Loading Emby.Kodi.SyncQueue, Version=1.0.5782.13378, Culture=neutral, PublicKeyToken=null Info, App, Loading GenreCleaner, Version=1.0.1.8, Culture=neutral, PublicKeyToken=null Info, App, Loading Trakt, Version=3.0.5810.33434, Culture=neutral, PublicKeyToken=null Info, App, Loading MediaBrowser.Api, Version=3.0.5871.0, Culture=neutral, PublicKeyToken=null Info, App, Loading MediaBrowser.WebDashboard, Version=3.0.5871.0, Culture=neutral, PublicKeyToken=null Info, App, Loading MediaBrowser.Model, Version=3.0.5871.0, Culture=neutral, PublicKeyToken=null Info, App, Loading MediaBrowser.Common, Version=3.0.5871.0, Culture=neutral, PublicKeyToken=null Info, App, Loading MediaBrowser.Controller, Version=3.0.5871.0, Culture=neutral, PublicKeyToken=null Info, App, Loading MediaBrowser.Providers, Version=3.0.5871.0, Culture=neutral, PublicKeyToken=null Info, App, Loading MediaBrowser.Common.Implementations, Version=3.0.5871.0, Culture=neutral, PublicKeyToken=null Info, App, Loading MediaBrowser.Server.Implementations, Version=3.0.5871.0, Culture=neutral, PublicKeyToken=null Info, App, Loading MediaBrowser.MediaEncoding, Version=3.0.5871.0, Culture=neutral, PublicKeyToken=null Info, App, Loading MediaBrowser.Dlna, Version=3.0.5871.0, Culture=neutral, PublicKeyToken=null Info, App, Loading MediaBrowser.LocalMetadata, Version=3.0.5871.0, Culture=neutral, PublicKeyToken=null Info, App, Loading MediaBrowser.XbmcMetadata, Version=3.0.5871.0, Culture=neutral, PublicKeyToken=null Info, App, Loading MediaBrowser.IsoMounting.Linux, Version=1.0.5131.24779, Culture=neutral, PublicKeyToken=null Info, App, Loading MediaBrowser.Server.Mono, Version=3.0.5871.0, Culture=neutral, PublicKeyToken=null Info, App, Loading MediaBrowser.Server.Startup.Common, Version=3.0.5871.0, Culture=neutral, PublicKeyToken=null Info, SqliteUserRepository, Sqlite 3.8.7.1 opening /var/lib/emby-server/data/users.db Info, SqliteFileOrganizationRepository, Sqlite 3.8.7.1 opening /var/lib/emby-server/data/fileorganization.db Info, AuthenticationRepository, Sqlite 3.8.7.1 opening /var/lib/emby-server/data/authentication.db Info, SyncRepository, Sqlite 3.8.7.1 opening /var/lib/emby-server/data/sync14.db Info, ImageMagick, ImageMagick version: ImageMagick 6.9.1-2 Q8 i586 2015-06-02 http://www.imagemagick.org Info, ImageProcessor, ImageProcessor started with 4 max concurrent image processes Info, App, FFMpeg: /var/lib/emby-server/ffmpeg/20160215/ffmpeg Info, App, FFProbe: /var/lib/emby-server/ffmpeg/20160215/ffprobe Info, SharingRepository, Sqlite 3.8.7.1 opening /var/lib/emby-server/data/shares.db Info, ActivityRepository, Sqlite 3.8.7.1 opening /var/lib/emby-server/data/activitylog.db Info, SqliteDisplayPreferencesRepository, Sqlite 3.8.7.1 opening /var/lib/emby-server/data/displaypreferences.db Info, SqliteItemRepository, Sqlite 3.8.7.1 opening /var/lib/emby-server/data/library.db Info, SqliteProviderInfoRepository, Sqlite 3.8.7.1 opening /var/lib/emby-server/data/refreshinfo.db Info, SqliteUserDataRepository, Sqlite 3.8.7.1 opening /var/lib/emby-server/data/userdata_v2.db Info, SqliteNotificationsRepository, Sqlite 3.8.7.1 opening /var/lib/emby-server/data/notifications.db Info, HttpServer, Calling ServiceStack AppHost.Init Info, ServiceStackHost, Initializing Application took 7820.593ms Info, ServerManager, Loading Http Server Info, HttpServer, attempting to load pfx: /var/lib/emby-server/ssl/cert_13c0acbe4e0fe4e42ca1030ee62ae6f5.pfx Info, HttpServer, Adding HttpListener prefix http://+:8096/ Info, HttpServer, Adding HttpListener prefix https://+:8920/ Running startup tasks Info, HttpServer, HTTP HEAD http://emby.lan:8096/emby/Items/6cdf782c3242e19c2c5f6e42935eca2d/Images/Primary?MaxWidth=400&MaxHeight=400&Index=0&Tag=23c9cc2413baf49acbab5cc7205340d0. UserAgent: Kodi/15.2 (X11; Linux x86_64) Ubuntu/15.10 App_Bitness/64 Version/15.2-Git:02e7013 Info, HttpServer, HTTP HEAD http://emby.lan:8096/emby/Items/84859dfa8016720ea53fd8be10275ac0/Images/Primary/0?MaxWidth=10000&MaxHeight=10000&Format=original&Tag=f0cc206cec13627a138fc4cbcc8506ab. UserAgent: Kodi/15.2 (X11; Linux x86_64) Ubuntu/15.10 App_Bitness/64 Version/15.2-Git:02e7013 Info, HttpServer, HTTP GET http://emby.lan:8096/emby/Users/Public?format=json. UserAgent: python-requests/2.9.1 Info, App, ServerId: 5ca282958bc14f578835ab946f928609 Info, App, Core startup complete Info, App, Emby.Kodi.Sync.Queue: LibrarySyncNotification Startup... Info, App, Emby.Kodi.SyncQueue: UserSyncNotification Startup... Debug, PortMapper, Starting NAT discovery Info, SsdpHandler, MultiCast socket created Debug, SsdpHandler, Starting alive notifier Debug, NetworkManager, Querying interface: lo. Type: Loopback. Status: Unknown Debug, NetworkManager, Querying interface: eth0. Type: Ethernet. Status: Up Info, IDeviceDiscovery, Creating SSDP listener on 127.0.0.1 Info, IDeviceDiscovery, Creating SSDP listener on 10.88.88.57 Info, LibraryMonitor, Watching directory /var/lib/emby-server/data/camerauploads Info, LibraryMonitor, Watching directory /var/lib/emby-server/data/playlists Info, LibraryMonitor, Watching directory /var/lib/emby-server/root Info, HttpClient, HttpClientManager POST: http://www.mb3admin.com/admin/service/registration/validate Info, HttpClient, HttpClientManager POST: http://www.mb3admin.com/admin/service/registration/validate Info, HttpClient, HttpClientManager POST: http://www.mb3admin.com/admin/service/registration/validate Debug, SsdpHandler, Registered mount a88351a89d11084d89af5baef10ce1d7 at http://127.0.0.1:8096/dlna/a88351a89d11084d89af5baef10ce1d7/description.xml Debug, SsdpHandler, Registered mount 2e1644a73eb94e7df59a2d828a0d7684 at http://10.88.88.57:8096/dlna/2e1644a73eb94e7df59a2d828a0d7684/description.xml pipe_read: error looking up pipe handle 0x58 exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Out of memory exception inside UnhandledException handler: Ou Edited February 28, 2016 by gardar
Luke 42077 Posted February 28, 2016 Posted February 28, 2016 Hi, as a test, can you try uninstalling the kodi sync plugin and seeing if the issue persists? thanks.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now