Sonarr version (exact version): 4.0.16.2944
Mono version (if Sonarr is not running on Windows): n/a
.NET version: (6.0.13)
OS: Alpine Linux 3.23
Debug logs: sonarr.txt sonarr.debug.txt sonarr.trace.txt
Description of issue: After several hours (usually, and it seems to vary) Sonarr will stop responding. I can still get the log files from the URL, and that works.
If I leave the web-ui open, I have caught it spinning the RSS Sync icon. And from the log files, it looks like that is where they largely stop. I cannot manually reproduce it, if I run an RSS Sync by pressing the button, it just works.
I am running Sonarr in an Alpine container, with 4gb of RAM and 2 cpu cores. I tried increasing the memory allocated to 8gb, and it didn’t seem to help. Media is on an NFS share. I install it manually, rather than from apk.
I have Radarr running perfectly fine in the same configuration, but I also have a much smaller collection in it.
I am not really seeing anything in the logs that help me understand where exactly the issue lies, let me know if they are not especially useful, or if I cut out a part of the debug/trace log files that would have been useful for debugging. I also appreciate the advice on the Wiki, but it seems that if the issue seems to be with RSS Sync, so I included the end of the RSS Sync entries.
The events table stops at Processing Releases after RSS Sync.
I can’t believe I missed this thread while looking for solutions, but this might be the solution. I installed 3.49.2 from the Alpine 3.22 repository, and everything seems to be working so far. I will see if it resolves the eventual hang.
I do believe this is what’s happening with my Sonarr on RebornOS (Arch based).
Yup, issue seems to be resolved, I was away from home, but looks like Sonarr has chugged along since I did the downgrade without any issues, which is a very good sign.
Works still! Everything is definitely fixed using the answer from the previous post, adapted to Alpine. I installed sqlite-libs-3.49.2-r1 x86_64 from the 3.22 APK repository, which required me to uninstall nfs-utils temporarily, install sqlite-libs-3.49.2-r1 x86_64, then reinstall nfs-utils.
In the thread you linked, I’ve mentioned that the newest SQLite version (3.51.2) looks to have fixed the issue for me (and it specifically called out some fixes in deadlocks). Maybe you can try as well to get a larger sample size.
Interesting, thanks for chiming in here. Alpine 3.23 has 3.51.1 in its main repo, but edge has 3.51.2. I think I will try that, though won’t have time tonight, would rather be on a newer version with a fix than pinned to an older version.
I was busier than expected over the past couple of days, just did the upgrade, will see if Sonarr crashes.
Looks like sqlite-libs 3.51.2-r0 from the Alpine edge main repo has fixed the issue. Count me in the sample size.
1 Like