Jump to content

Emby Server Core Dumped?


runtimesandbox
Go to solution Solved by runtimesandbox,

Recommended Posts

runtimesandbox

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?

 
Link to comment
Share on other sites

runtimesandbox

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.

Link to comment
Share on other sites

  • Solution
runtimesandbox

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

  • Like 1
Link to comment
Share on other sites

runtimesandbox

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 6 months later...
xyzzyx

Hi,

Even it is an old topic, have to add my 2 cents on this, maybe will help others as well:

I am running emby for 4 days now. Today I run out of space in /var folder as well. Any attempt to login was impossible.

System.IO.IOException: System.IO.IOException: No space left on device

First thought was to extend var partition space as well. But since this is a pretty complicated task for somebody not so familiar with linux and LVM specifics, I created a separated tmp folder in /home for emby temps and indicated this location for transcoding, temp conversions, metadata, cache, etc. My /home partition is big enough so there will be no further surprises.

Edited by xyzzyx
Link to comment
Share on other sites

maegibbons

On linux file system you can run out of disk space when you run out of inodes.

 

Check your free inode count too.

 

Krs

 

Mark

 

A 'like' is always appreciated!

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