Jump to content

Log growth causing crash


Recommended Posts

Posted

After upgrading to the newest release, my emby log is crowing at an alarming rate. I had a 100G log file before my server crashed when my boot disk ran out of drive space. I seem to be getting spammed with the same error over and over again. Please assist.

2017-02-06 21:00:59.9782 Error IDeviceDiscovery: Error searching for devices
        *** Error Report ***
        Version: 3.2.0.0
        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 4.4.0.53
        64-Bit OS: True
        64-Bit Process: True
        Mono: 4.6.2 (Stable 4.6.2.16/ac9e222 Tue Jan  3 11:48:26 UTC 2017)
        Processor count: 16
        Program data path: /var/lib/emby-server
        Application directory: /usr/lib/emby-server/bin
        System.InvalidOperationException: Search already in progress. Only one search at a time is allowed.
          at Rssdp.Infrastructure.SsdpDeviceLocatorBase+<SearchAsync>c__async0.MoveNext () [0x000d7] in <9ddf26f166a24bbeb1e0df61ebf3e88c>:0
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0
          at Emby.Dlna.Ssdp.DeviceDiscovery+<StartAsyncSearch>c__async6.MoveNext () [0x000b3] in <98e4dd1034464fbb97f03643d633fd79>:0
        System.InvalidOperationException
          at Rssdp.Infrastructure.SsdpDeviceLocatorBase+<SearchAsync>c__async0.MoveNext () [0x000d7] in <9ddf26f166a24bbeb1e0df61ebf3e88c>:0
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0
          at Emby.Dlna.Ssdp.DeviceDiscovery+<StartAsyncSearch>c__async6.MoveNext () [0x000b3] in <98e4dd1034464fbb97f03643d633fd79>:0
 
2017-02-06 21:00:59.9791 Error IDeviceDiscovery: Error searching for devices
        *** Error Report ***
        Version: 3.2.0.0
        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 4.4.0.53
        64-Bit OS: True
        64-Bit Process: True
        Mono: 4.6.2 (Stable 4.6.2.16/ac9e222 Tue Jan  3 11:48:26 UTC 2017)
        Processor count: 16
        Program data path: /var/lib/emby-server
        Application directory: /usr/lib/emby-server/bin
        System.InvalidOperationException: Search already in progress. Only one search at a time is allowed.
          at Rssdp.Infrastructure.SsdpDeviceLocatorBase+<SearchAsync>c__async0.MoveNext () [0x000d7] in <9ddf26f166a24bbeb1e0df61ebf3e88c>:0
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0
          at Emby.Dlna.Ssdp.DeviceDiscovery+<StartAsyncSearch>c__async6.MoveNext () [0x000b3] in <98e4dd1034464fbb97f03643d633fd79>:0
        System.InvalidOperationException
          at Rssdp.Infrastructure.SsdpDeviceLocatorBase+<SearchAsync>c__async0.MoveNext () [0x000d7] in <9ddf26f166a24bbeb1e0df61ebf3e88c>:0
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0
          at Emby.Dlna.Ssdp.DeviceDiscovery+<StartAsyncSearch>c__async6.MoveNext () [0x000b3] in <98e4dd1034464fbb97f03643d633fd79>:0

after just a few minutes of running the log is over 2GB

find /var/lib/emby-server/ -type f -size +100M -exec du -h {} \; | sort -n
2.5G    /var/lib/emby-server/logs/server-63622007617.txt
Server details:
VERSION=16.04.1 LTS
kernel 4.4.0-53-generic
emby-server Version 3.2.0.0
 
 
Please let me know what other info I can provide. 
 
Thanks,
Posted

hi @@supgoalie, we're looking into resolving this for the next release. thanks !

Posted

Thanks for looking into this Luke. In the mean time, is it possible to disable server logging? I'm not seeing any options in Emby besides enabling debug. For the time being, I'll just be deleting the logs every few hours.

tehdartherer
Posted

Got the same problem, also looking for a solution to stop it from filling my disk. It is unusable at the moment.

khodges747
Posted

Same problem with the Windows version.

 

As a fix I installed the beta 3.2.0.101 which is OK. When they fix the stable version I'll go back to that.

Posted

This is resolved for the next release, thanks.

Posted

This is resolved for the next release, thanks.

 

When is that planned?

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