Jump to content


Photo

Emby Server Core Dumped?


Best Answer runtimesandbox , 10 October 2019 - 03:53 PM

increased the disk size and its now running again - not sure why 20gb free wasn't enough but it is working again

Go to the full post


  • Please log in to reply
7 replies to this topic

#1 runtimesandbox OFFLINE  

runtimesandbox

    Advanced Member

  • Members
  • 476 posts
  • Local time: 06:02 PM

Posted 09 October 2019 - 05:30 PM

Fresh install of Emby Server stable on an ubuntu 18 VM. Quite a large media library and the database has been rebuilding for the last few days.

 

I came back to it today and am the service status shows the below - refuses to restart

 

● emby-server.service - Emby Server is a personal media server with apps on just about every device.
   Loaded: loaded (/usr/lib/systemd/system/emby-server.service; enabled; vendor preset: enabled)
   Active: failed (Result: core-dump) since Wed 2019-10-09 17:15:38 UTC; 4h 8min ago
  Process: 1694 ExecStart=/opt/emby-server/bin/emby-server (code=dumped, signal=ABRT)
 Main PID: 1694 (code=dumped, signal=ABRT)


Oct 09 17:15:38 mgc-emby emby-server[1694]: Info Main: Shutdown complete
Oct 09 17:15:38 mgc-emby emby-server[1694]: Unhandled Exception: System.IO.IOException: No space left on device
Oct 09 17:15:38 mgc-emby emby-server[1694]:    at System.IO.FileStream.WriteNative(ReadOnlySpan`1 source)
Oct 09 17:15:38 mgc-emby emby-server[1694]:    at System.IO.FileStream.FlushWriteBuffer()
Oct 09 17:15:38 mgc-emby emby-server[1694]:    at System.IO.FileStream.Flush(Boolean flushToDisk)
Oct 09 17:15:38 mgc-emby emby-server[1694]:    at Emby.Server.Implementations.Logging.FileLogger.Dispose()
Oct 09 17:15:38 mgc-emby emby-server[1694]:    at Emby.Server.Implementations.Logging.SimpleLogManager.Dispose()
Oct 09 17:15:38 mgc-emby emby-server[1694]:    at EmbyServer.Program.Main(String[] args)
Oct 09 17:15:38 mgc-emby systemd[1]: emby-server.service: Main process exited, code=dumped, status=6/ABRT
Oct 09 17:15:38 mgc-emby systemd[1]: emby-server.service: Failed with result 'core-dump'.

The last few lines of the emby log attached are all the same

 

2019-10-09 16:09:16.083 Info MediaEncoder: ProcessRun 'ffprobe' Execute: /opt/emby-server/bin/ffprobe -i file:"/mnt/media/TV/Family Guy/Season 4/Family Guy - 4x07 - Brian, The Bachelor.avi" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data
2019-10-09 16:09:16.143 Info MediaEncoder: ProcessRun 'ffprobe' Started.
2019-10-09 16:09:16.271 Info MediaEncoder: ProcessRun 'ffprobe' Process exited with code 0
2019-10-09 16:09:16.274 Info MediaEncoder: ProcessRun 'quick-extract-imageseries' Execute: /opt/emby-server/bin/ffmpeg -f avi -skip_interval 5 -copyts -i file:"/mnt/media/TV/Family Guy/Season 4/Family Guy - 4x07 - Brian, The Bachelor.avi" -an -sn -vf "select='eq(pict_type,PICT_TYPE_I)'" -s 320x240 -vsync cfr -r 0.2 -f image2 "/mnt/data/emby/cache/temp/eb9d78346ae044be8239c1161250baee/img_%05d.jpg"
2019-10-09 16:09:16.338 Info MediaEncoder: ProcessRun 'quick-extract-imageseries' Started.
2019-10-09 16:09:23.869 Info MediaEncoder: ProcessRun 'quick-extract-imageseries' Process exited with code 0
2019-10-09 16:09:24.034 Error App: Error creating thumbnails for /mnt/media/TV/Family Guy/Season 4/Family Guy - 4x07 - Brian, The Bachelor.avi
*** Error Report ***
Version: 4.2.1.0
Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
Operating system: Unix 5.3.0.50300
64-Bit OS: True
64-Bit Process: True
User Interactive: True
Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll
Processor count: 8
Program data path: /var/lib/emby
Application directory: /opt/emby-server/system
System.IO.IOException: System.IO.IOException: No space left on device
   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
   at Interop.CheckIo(Int64 result, String path, Boolean isDirectory, Func`2 errorRewriter)
   at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite)
   at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
   at MediaBrowser.Providers.MediaInfo.ThumbnailGenerator.CreateThumbnailSet(Video item, LibraryOptions libraryOptions, Int32 width, CancellationToken cancellationToken)
   at MediaBrowser.Providers.MediaInfo.ThumbnailGenerator.CreateThumbnailSets(Video item, LibraryOptions libraryOptions, CancellationToken cancellationToken)
   at MediaBrowser.Providers.MediaInfo.ThumbnailGenerator.RefreshThumbnailImages(Video item, LibraryOptions libraryOptions, IDirectoryService directoryService, List`1 chapters, Boolean extractImages, Boolean saveChapters, CancellationToken cancellationToken)
Source: System.IO.FileSystem
TargetSite: Void ThrowExceptionForIoErrno(ErrorInfo, System.String, Boolean, System.Func`2[Interop+ErrorInfo,Interop+ErrorInfo])


2019-10-09 16:09:24.053 Info HttpClient: GET https://www.thetvdb.com/banners/episodes/75978/181175.jpg
2019-10-09 16:09:24.211 Error App: Error in TheTVDB
*** Error Report ***
Version: 4.2.1.0
Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ff

Any clue as to why this happened or how to get it up and running again?

 


#2 runtimesandbox OFFLINE  

runtimesandbox

    Advanced Member

  • Members
  • 476 posts
  • Local time: 06:02 PM

Posted 09 October 2019 - 05:41 PM

Just re reading the error message, I see the no space left on device issue but the disk currently had ~20gb free according to the info.



#3 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 138217 posts
  • Local time: 01:02 PM

Posted 09 October 2019 - 05:57 PM

Complete log file?



#4 runtimesandbox OFFLINE  

runtimesandbox

    Advanced Member

  • Members
  • 476 posts
  • Local time: 06:02 PM

Posted 09 October 2019 - 06:38 PM

Sorry thought I had attached it to first post, here it is

Attached Files



#5 runtimesandbox OFFLINE  

runtimesandbox

    Advanced Member

  • Members
  • 476 posts
  • Local time: 06:02 PM

Posted 10 October 2019 - 03:53 PM   Best Answer

increased the disk size and its now running again - not sure why 20gb free wasn't enough but it is working again


  • Luke likes this

#6 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 138217 posts
  • Local time: 01:02 PM

Posted 10 October 2019 - 05:44 PM

Thanks for the feedback.



#7 runtimesandbox OFFLINE  

runtimesandbox

    Advanced Member

  • Members
  • 476 posts
  • Local time: 06:02 PM

Posted 11 October 2019 - 04:32 PM

It happened again when it got to only having 20gb of disk space free.

 

It also causes all sessions to be expired? What is the reasoning for this -its quite frustrating having to sign all devices back in



#8 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 138217 posts
  • Local time: 01:02 PM

Posted 11 October 2019 - 04:40 PM

I don't know sorry. We are getting errors from the system saying you're out of free space. I can't tell you why you're out of free space as that is specific to your environment, I can only tell you that that is the error that the system is raising.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users