Roon Core Machine
Linux Roon 5.10.0-11-amd64 #1 SMP Debian 5.10.92-1 (2022-01-18) x86_64
me@Roon:~$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 44 bits physical, 48 bits virtual
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 2
Core(s) per socket: 2
Socket(s): 1
NUMA node(s): 1
Vendor ID: AuthenticAMD
CPU family: 23
Model: 8
Model name: AMD Ryzen Threadripper 2970WX 24-Core Processor
Stepping: 2
CPU MHz: 3000.042
BogoMIPS: 6000.08
Hypervisor vendor: Microsoft
Virtualization type: full
L1d cache: 64 KiB
L1i cache: 128 KiB
L2 cache: 1 MiB
L3 cache: 8 MiB
8GB RAM
Networking Gear & Setup Details
D-Link DGS-1024D 24-Port Unmanaged Gigabit Switch
Ethernet cat6 wired using DHCP reservations /22 LAN
Connected Audio Devices
Pro-Ject DAC Box E via WASAPI driver
Windows 10 pro x64 client
Number of Tracks in Library
17,547 Tracks
Description of Issue
I’m a new subscriber with a new, purpose built, linux based roon server. During the trial period things seemed to be pretty stable. Unfortunately stability is causing me great concern as of late.
While streaming Tidal I am encountering frequent crashes of what seems to be the roon server. I have been encountering more frequent crashing over the last week, so I set up a cron job to gracefully restart Roon at 5am each day. That seemed to help but now the crashing is more frequent, I cannot typically make it through two songs without (I assume) the server app crashing. So I set up a watchdog process to automatically restart the Roon services on my dedicated linux server when they crash. That is working but the crashing is getting worse… I’m not sure what else to try since the crashing is more consistent each time I stream songs in roon from tidal. Any help is greatly appreciated!!! Thank you in advance.
Here are some logs of when it happened.
RoonServer_log.01.txt
03/24 12:22:10 Info:
--[ SignalPath ]---------------------------------------------
SignalPath Quality = Lossless
Elements:
Source Format=Flac 48000/24/2 Quality=Lossless MQA 192000
MQA Subtype=authentication LightState=off OriginalSampleRate=48000 OutputSampleRate= OutputBitsPerSample=
MQA Subtype=roon_core_decoder LightState= OriginalSampleRate= OutputSampleRate=96000 OutputBitsPerSample=24
Raat Device=Realtek(R) Audio
Output OutputType=Local_ExclusiveMode_Wasapi Quality=Lossless SubType= Model=Realtek(R) Audio
------------------------------------------------------------
03/24 12:22:11 Info:
--[ SignalPath ]---------------------------------------------
SignalPath Quality = Lossless
Elements:
Source Format=Flac 48000/24/2 Quality=Lossless MQA 192000
MQA Subtype=authentication LightState=authored OriginalSampleRate=192000 OutputSampleRate= OutputBitsPerSample=
MQA Subtype=roon_core_decoder LightState= OriginalSampleRate= OutputSampleRate=96000 OutputBitsPerSample=24
Raat Device=Realtek(R) Audio
Output OutputType=Local_ExclusiveMode_Wasapi Quality=Lossless SubType= Model=Realtek(R) Audio
------------------------------------------------------------
03/24 12:22:15 Trace: [DAC Box E] [Lossless 23.0x, 24/48 MQA TIDAL FLAC => 24/96] [100% buf] [PLAYING @ 0:04/3:22] Those Sweet Words - Norah Jones / Lee Alexander / Richard Julian
03/24 12:22:16 Info: [stats] 26780mb Virtual, 5203mb Physical, 3090mb Managed, 330 Handles, 92 Threads
03/24 12:22:18 Debug: [easyhttp] [1681] POST to https://device-map.roonlabs.net/1/register returned after 246 ms, status code: 200
03/24 12:22:18 Trace: [devicemap] device map updated
03/24 12:22:19 Debug: FTMSI-B-OE ti/9E35B34B exit thread signalled
03/24 12:22:19 Debug: FTMSI-B ti/9E35B34B download status: AllBlocksDownloaded accessTimeout:False openFiles:1 prev:(FirstBlockRetrieved,False,1)
03/24 12:22:19 Info: FTMSI-B ti/9E35B34B: allocated bw changed from 51200 to 0 kbps
03/24 12:22:19 Info: FTMSI-B 1 FileCache ti/B5AD0AB1 dwStatus:AllBlocksDownloaded files:0 accessTimeOut:True priorities: ('zoneplayer:11':1) ('zoneplayer:10':3) --> bw limit:0kbps
03/24 12:22:19 Info: FTMSI-B 2 FileCache ti/707C2863 dwStatus:AllBlocksDownloaded files:0 accessTimeOut:True priorities: ('zoneplayer:11':2) ('zoneplayer:10':4) --> bw limit:0kbps
03/24 12:22:19 Info: FTMSI-B 3 FileCache ti/69532C5D dwStatus:AllBlocksDownloaded files:1 accessTimeOut:True priorities: ('zoneplayer:10':16) --> bw limit:0kbps
03/24 12:22:19 Info: FTMSI-B 4 FileCache ti/9E35B34B dwStatus:AllBlocksDownloaded files:1 accessTimeOut:False priorities: ('zoneplayer:10':15) --> bw limit:0kbps
03/24 12:22:19 Debug: FTMSI-B-OE ti/9E35B34B rid:1 request ended -- first block: 0 blocks read: 1178 download speed: 31469kbps response time: 51ms
03/24 12:22:21 Trace: [DAC Box E] [Lossless 26.7x, 24/48 MQA TIDAL FLAC => 24/96] [100% buf] [PLAYING @ 0:09/3:22] Those Sweet Words - Norah Jones / Lee Alexander / Richard Julian
And here is the RAATServer_log.01.txt part that might help:
03/24 07:45:30 Info: Starting RAATServer v1.8 (build 918) stable on linuxx64
03/24 07:45:30 Trace: [RAATServer] detected ALSA support
03/24 07:45:30 Trace: [bits] myinfo: {"os":"Linux 5.10.0-11-amd64","platform":"linuxx64","machineversion":100800918,"branch":"stable","appmodifier":"","appname":"RAATServer"}
03/24 07:45:31 Debug: [easyhttp] [1] POST to https://bits.roonlabs.net/1/q/roon.base.,roon.internet_discovery. returned after 809 ms, status code: 200
03/24 07:45:31 Trace: [bits] updated bits, in 864ms
03/24 07:45:31 Info: [RAATServer] creating RAAT__manager
03/24 07:45:31 Info: [RAATServer] appdata_dir = /var/roon/RAATServer
03/24 07:45:31 Info: [RAATServer] unique_id = 4f1fdb64-cd33-4d7b-9772-c0bac390f7e1
03/24 07:45:31 Info: [RAATServer] machine_id = bbf73b5e-3696-6425-f723-c577dcf1e5d2
03/24 07:45:31 Info: [RAATServer] machine_name = Roon
03/24 07:45:31 Info: [RAATServer] os_version = Linux 5.10.0-11-amd64
03/24 07:45:31 Info: [RAATServer] vendor =
03/24 07:45:31 Info: [RAATServer] model =
03/24 07:45:31 Info: [RAATServer] service_id = d7634b85-8190-470f-aa51-6cb5538dc1b9
03/24 07:45:31 Info: [RAATServer] is_dev = False
03/24 07:45:31 Trace: [raatmanager] starting
03/24 07:45:31 Trace: [raatmanager] initialized
03/24 07:45:31 Info: [RAATServer] running RAAT__manager
03/24 07:45:31 Trace: [raatmanager] starting discovery
03/24 07:45:31 Trace: [discovery] starting
03/24 07:45:31 Info: [discovery] [iface:lo:127.0.0.1] multicast recv socket is bound to 0.0.0.0:9003
03/24 07:45:31 Info: [discovery] [iface:lo:127.0.0.1] multicast send socket is bound to 0.0.0.0:46393
03/24 07:45:31 Info: [discovery] [iface:eth0:192.168.1.18] multicast recv socket is bound to 0.0.0.0:9003
03/24 07:45:31 Info: [discovery] [iface:eth0:192.168.1.18] multicast send socket is bound to 0.0.0.0:55679
03/24 07:45:31 Info: [discovery] unicast socket is bound to 0.0.0.0:9003
03/24 07:45:31 Trace: [raatmanager] starting server
03/24 07:45:31 Info: [jsonserver] listening on port 9200
03/24 07:45:31 Trace: [raatmanager] announcing
03/24 07:45:31 Debug: [discovery] broadcast op is complete
03/24 07:45:32 Trace: [inetdiscovery] added device raatserver/4f1fdb64-cd33-4d7b-9772-c0bac390f7e1 in addr:__ADDR__
03/24 07:45:32 Trace: [inetdiscovery] added service com.roonlabs.raatserver.tcp for device raatserver/4f1fdb64-cd33-4d7b-9772-c0bac390f7e1
03/24 07:45:37 Trace: [ipaddresses] enumerating addresses
03/24 07:45:37 Trace: [ipaddresses] FOUND lo 127.0.0.1
03/24 07:45:37 Trace: [ipaddresses] FOUND eth0 192.168.1.18
03/24 07:45:37 Debug: [easyhttp] [2] POST to https://discovery.roonlabs.net/1/register returned after 164 ms, status code: 200
03/24 07:45:37 Trace: [inetdiscovery] registered 1 devices, 1 services
03/24 07:45:42 Trace: [RAATServer] refreshing @ 10s
03/24 07:45:42 Trace: [raatmanager] announcing
03/24 07:45:42 Debug: [discovery] broadcast op is complete
03/24 07:46:07 Trace: [jsonserver] [127.0.0.1:53754] accepted connection
03/24 07:46:07 Trace: [jsonserver] [127.0.0.1:53754] GOT[LL] [1] {"request":"enumerate_devices","subscription_id":"0"}
03/24 07:46:07 Trace: [jsonserver] [127.0.0.1:53754] SENT [1] [nonfinal] {"status": "Success", "devices": []}
03/24 07:49:05 Warn: [jsonserver] client timed out after 10013ms (timeout=10000)
03/24 07:49:05 Trace: [jsonserver] [127.0.0.1:53754] destroying client
03/24 07:49:17 Trace: [jsonserver] [127.0.0.1:55030] accepted connection
03/24 07:49:17 Trace: [jsonserver] [127.0.0.1:55030] GOT[LL] [1] {"request":"enumerate_devices","subscription_id":"0"}
03/24 07:49:17 Trace: [jsonserver] [127.0.0.1:55030] SENT [1] [nonfinal] {"status": "Success", "devices": []}
03/24 07:53:01 Warn: [jsonserver] client timed out after 10021ms (timeout=10000)
03/24 07:53:01 Trace: [jsonserver] [127.0.0.1:55030] destroying client
03/24 07:53:02 Trace: [jsonserver] [127.0.0.1:56178] accepted connection
03/24 07:53:02 Trace: [jsonserver] [127.0.0.1:56178] GOT[LL] [1] {"request":"enumerate_devices","subscription_id":"0"}
03/24 07:53:02 Trace: [jsonserver] [127.0.0.1:56178] SENT [1] [nonfinal] {"status": "Success", "devices": []}
03/24 08:48:19 Warn: [jsonserver] client timed out after 10448ms (timeout=10000)
03/24 08:48:19 Trace: [jsonserver] [127.0.0.1:56178] destroying client
03/24 08:48:20 Trace: [jsonserver] [127.0.0.1:43678] accepted connection
03/24 08:48:20 Trace: [jsonserver] [127.0.0.1:43678] GOT[LL] [1] {"request":"enumerate_devices","subscription_id":"0"}
03/24 08:48:20 Trace: [jsonserver] [127.0.0.1:43678] SENT [1] [nonfinal] {"status": "Success", "devices": []}
03/24 09:45:37 Debug: [easyhttp] [3] POST to https://discovery.roonlabs.net/1/register returned after 442 ms, status code: 200
03/24 09:45:37 Trace: [inetdiscovery] registered 1 devices, 1 services
03/24 10:11:50 Trace: [RAATServer] network reachability changed, refreshing discovery
03/24 10:11:50 Trace: [raatmanager] updating network interfaces
03/24 10:11:50 Trace: [discovery] stopping
03/24 10:11:50 Trace: closing multicast
03/24 10:11:50 Trace: [discovery] closing unicast send socket
03/24 10:11:50 Trace: [discovery] closing unicast recv socket
03/24 10:11:50 Trace: [discovery] starting
03/24 10:11:50 Info: [discovery] [iface:lo:127.0.0.1] multicast recv socket is bound to 0.0.0.0:9003
03/24 10:11:50 Info: [discovery] [iface:lo:127.0.0.1] multicast send socket is bound to 0.0.0.0:57746
03/24 10:11:50 Info: [discovery] [iface:eth0:192.168.1.18] multicast recv socket is bound to 0.0.0.0:9003
03/24 10:11:50 Info: [discovery] [iface:eth0:192.168.1.18] multicast send socket is bound to 0.0.0.0:44451
03/24 10:11:50 Info: [discovery] unicast socket is bound to 0.0.0.0:9003
03/24 10:11:50 Trace: [raatmanager] announcing
03/24 10:11:50 Debug: [discovery] broadcast op is complete
03/24 10:11:55 Debug: [easyhttp] [4] POST to https://discovery.roonlabs.net/1/register returned after 649 ms, status code: 200
03/24 10:11:55 Trace: [inetdiscovery] registered 1 devices, 1 services
03/24 12:22:26 Trace: [jsonserver] [127.0.0.1:43678] read error: connection reset by peer
03/24 12:22:27 Trace: [jsonserver] [127.0.0.1:43678] destroying client