Sonarr version (exact version): 2.0.0.4949
Mono version (if Sonarr is not running on Windows):5.2.0.224
OS: Linux raspberrypi 4.9.52-v7+ #1038
((Debug logs)):
(Make sure debug logging is enabled in settings and post the full log to hastebin/pastebin/dropbox/google drive or something similar, do not post them directly here)
Description of issue: For quite a while I have noticed that sonarr leaves a process or two spinning with high CPU utilisation when shutdown is requested via the system > status page, but only after sonarr has been running for a while, perhaps an hour or two of normal operation - rss checks etc. Invoking sonarr via the command line, waiting an hour or so, commanding shutdown then looking at the text logged to the console shows the lifecyclecontroller has requested shutdown but that’s it. I have let it sit in this condition for over two hours and there is no further text output.
To prove it is not a problem with my PI’s configuration I have clean installed xubuntu on a PC, installed nzbget, mono, sonarr and copied the sonarr databases across and can reproduce the problem precisely.
In addition I have installed nzbget and sonarr on a Windows PC, transferred the databases, then adjusted the all the paths in nzbdrone.db to make them ‘Windows friendly’ using sql search / update commands and found that sonarr shuts down correctly and cleanly when commanded via the system > status page.