Sonarr keeps crashing a few minutes after start

Sonarr version (exact version): 2.0.0.4370
Mono version (if Sonarr is not running on Windows): 4.2.2.r1 (Have also tried using 4.6.0.150, it also crashes. But these logs are from v4)
OS: Linux
((Debug logs)): http://termbin.com/n462 and trace logs if needed too: http://termbin.com/47h9
(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:
Sonarr crashes after a few minutes when it’s started.

I checked that the process is there right after I start it, before it crashes. And then checked again after the web client becomes unresponsive with “Connection to backend lost”.

$ ps aux | grep sonarr
 2015 admin      0:00 {mono} /bin/sh /usr/local/AppCentral/sonarr/bin/mono /usr/local/AppCentral/sonarr/Sonarr/NzbDrone.exe /data=/usr/local/AppCentral/sonarr/config
 2016 admin      0:00 /usr/local/bin/mono /usr/local/AppCentral/sonarr/Sonarr/NzbDrone.exe /data=/usr/local/AppCentral/sonarr/config
 2020 admin      0:00 grep sonarr

Specifically which version?

I don’t see anything in the logs indicating a crash, but if mono is dying Sonarr may not be able to log it. Capturing the standard output and error from the running mono process would be the best way to capture any crashes.

It’s a custom version that comes with the Asustor NAS. Running some commands reveals more.

$ cat /proc/version
Linux version 3.4.26 (root@sw1-server) (gcc version 4.6.4 (crosstool-NG crosstool-ng-1.22.0 - i686 32-bit toolchain - ASUSTOR Inc.) ) #1 SMP PREEMPT Thu Sep 22 20:45:53 CST 2016
$ uname -mrs
Linux 3.4.26 i686

Hmm, any idea of how to do this? I’m not running the mono process myself. It’s ran by a type of app manager.

You may be able to run mono + Sonarr directly to bypass the mono app manager, but otherwise it would have to be done in whatever script the app manager runs.

The issue itself reminds me a bit of

But that issue has been with mono 4.6.

Here are the last few lines from running the command directly

http://pastebin.com/ipviCgjf

The last line just says Terminated, no errors before. I haven’t seen that before, it looks like mono is being terminated by something.

Are you running low on memory and something is clearing things out?

I monitored the memory while running Sonarr, and looks like that’s it. Well, guess I’ll have to go buy more memory for it.

Thanks for the help!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.