Hi there,
I have a week old installation of Sonarr version 2.0.0.3004 running on Windows 8.1 with an AMD A10-5800K CPU and 16gb RAM. Every 2 days Sonarr fails to do anything. The web interface loads fine, but it fails to pull rss feeds, search the drone factory, restart, manually search for epidodes etc. To recover I need to log into the machine (I run it headless) and close Sonarr from the system tray and start it again. I do not run Sonarr as a service due to the way I have my shares set up. When this issue happens, there is an Epic Fail pop up on the desktop, and I find the following in the logs:
Error occurred while executing task NzbDrone.Core.Indexers.RssSyncCommand: An exception was thrown by a TaskScheduler.
Exception
System.Threading.Tasks.TaskSchedulerException: An exception was thrown by a TaskScheduler. —> System.OutOfMemoryException: Exception of type ‘System.OutOfMemoryException’ was thrown.
at System.Threading.Thread.StartInternal(IPrincipal principal, StackCrawlMark& stackMark)
at System.Threading.Thread.Start(StackCrawlMark& stackMark)
at System.Threading.Thread.Start(Object parameter)
at System.Threading.Tasks.ThreadPoolTaskScheduler.QueueTask(Task task)
at System.Threading.Tasks.Task.ScheduleAndStart(Boolean needsProtection)
— End of inner exception stack trace —
at System.Threading.Tasks.Task.ScheduleAndStart(Boolean needsProtection)
at System.Threading.Tasks.Task.InternalStartNew(Task creatingTask, Delegate action, Object state, CancellationToken cancellationToken, TaskScheduler scheduler, TaskCreationOptions options, InternalTaskOptions internalOptions, StackCrawlMark& stackMark)
at System.Threading.Tasks.TaskFactory.StartNew(Action action)
at NzbDrone.Core.Indexers.FetchAndParseRssService.Fetch() in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Indexers\FetchAndParseRssService.cs:line 47
at NzbDrone.Core.Indexers.RssSyncService.Sync() in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Indexers\RssSyncService.cs:line 47
at NzbDrone.Core.Indexers.RssSyncService.Execute(RssSyncCommand message) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Indexers\RssSyncService.cs:line 65
at NzbDrone.Core.Messaging.Commands.CommandExecutor.ExecuteCommand[TCommand](Command command) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Messaging\Commands\CommandExecutor.cs:line 141
at NzbDrone.Core.Messaging.Commands.CommandExecutor.PublishCommand[TCommand](TCommand command) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Messaging\Commands\CommandExecutor.cs:line 48
at CallSite.Target(Closure , CallSite , CommandExecutor , Object )
at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid2[T0,T1](CallSite site, T0 arg0, T1 arg1)
at CallSite.Target(Closure , CallSite , CommandExecutor , Object )
at NzbDrone.Core.Messaging.Commands.CommandExecutor.PublishCommand(String commandTypeName, Nullable`1 lastExecutionTime) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Messaging\Commands\CommandExecutor.cs:line 61
at NzbDrone.Core.Jobs.Scheduler.ExecuteCommands() in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Jobs\Scheduler.cs:line 46
And sometimes this error as well:
Task Error: disk I/O error
disk I/O error
Exception
System.Data.SQLite.SQLiteException (0x80004005): disk I/O error
disk I/O error
at System.Data.SQLite.SQLite3.Prepare(SQLiteConnection cnn, String strSql, SQLiteStatement previous, UInt32 timeoutMS, String& strRemain)
at System.Data.SQLite.SQLiteCommand.BuildNextCommand()
at System.Data.SQLite.SQLiteCommand.GetStatement(Int32 index)
at System.Data.SQLite.SQLiteDataReader.NextResult()
at System.Data.SQLite.SQLiteDataReader…ctor(SQLiteCommand cmd, CommandBehavior behave)
at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
at System.Data.SQLite.SQLiteConnection.Open()
at Marr.Data.DataMapper.OpenConnection() in m:\BuildAgent\work\6c3239faf2b92630\src\Marr.Data\DataMapper.cs:line 844
at Marr.Data.DataMapper.Query[T](String sql, ICollection1 entityList, Boolean useAltName) in m:\BuildAgent\work\6c3239faf2b92630\src\Marr.Data\DataMapper.cs:line 566 at Marr.Data.QGen.QueryBuilder
1.ToList() in m:\BuildAgent\work\6c3239faf2b92630\src\Marr.Data\QGen\QueryBuilder.cs:line 279
at NzbDrone.Core.Datastore.BasicRepository`1.All() in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Datastore\BasicRepository.cs:line 66
at NzbDrone.Core.Jobs.TaskManager.GetPending() in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Jobs\TaskManager.cs:line 45
at NzbDrone.Core.Jobs.Scheduler.ExecuteCommands() in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Jobs\Scheduler.cs:line 36
at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute()
I have scheduled a daily restart on the PC to work around this, but am more than happy to stop the restart task and let it crash to try and troubleshoot if anyone would be kind enough to give me a hand.
Thanks,
Kris