Roon on Debian Linux Problem

Well, it’s been running alongside Plex for more than a year now without any issues. I’m also seeing others say the same like this post here. Also, I have the DLNA server in Plex disabled as I don’t use it so it shouldn’t be listening at port 1900 at all. When I check though, I have the minidlnad service conflicting with Roon:

root@nuc:~# ss -ulpn | grep 1900
UNCONN 0      0              0.0.0.0:1900       0.0.0.0:*    users:(("RoonAppliance",pid=272463,fd=639))
UNCONN 0      0              0.0.0.0:1900       0.0.0.0:*    users:(("RoonAppliance",pid=272463,fd=636))
UNCONN 0      0              0.0.0.0:1900       0.0.0.0:*    users:(("RoonAppliance",pid=272463,fd=635))
UNCONN 0      0      239.255.255.250:1900       0.0.0.0:*    users:(("RoonAppliance",pid=272463,fd=616))
UNCONN 0      0      239.255.255.250:1900       0.0.0.0:*    users:(("minidlnad",pid=1749,fd=6))

@Kevin_Mychal_Ong you are a more patient man than me!

That’s what you get when you work in IT :slight_smile: You are so used to troubleshooting that you don’t give up easily.

It happened again even after I uninstalled minidlna and made sure that there no UDP port 1900 conflicts anymore. Sigh.

@Kevin_Mychal_Ong could it be hardware related?

Maybe try a

lspci -v

Longshot but you may find a device without a driver.

Also maybe test the ram?

Here’s what I get:

root@nuc:~# lspci -v
00:00.0 Host bridge: Intel Corporation Device 9b51
        DeviceName:  SD
        Subsystem: Intel Corporation Device 2081
        Flags: bus master, fast devsel, latency 0, IOMMU group 0
        Capabilities: [e0] Vendor Specific Information: Len=10 <?>
        Kernel driver in use: skl_uncore

00:02.0 VGA compatible controller: Intel Corporation Device 9bca (rev 04) (prog-if 00 [VGA controller])
        DeviceName:  GPU
        Subsystem: Intel Corporation Device 2081
        Flags: bus master, fast devsel, latency 0, IRQ 163, IOMMU group 1
        Memory at 6022000000 (64-bit, non-prefetchable) [size=16M]
        Memory at 4000000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 3000 [size=64]
        Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
        Capabilities: [40] Vendor Specific Information: Len=0c <?>
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [d0] Power Management version 2
        Capabilities: [100] Process Address Space ID (PASID)
        Capabilities: [200] Address Translation Service (ATS)
        Capabilities: [300] Page Request Interface (PRI)
        Kernel driver in use: i915
        Kernel modules: i915

00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
        Subsystem: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
        Flags: fast devsel, IRQ 255, IOMMU group 2
        Memory at 602311c000 (64-bit, non-prefetchable) [disabled] [size=4K]
        Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [dc] Power Management version 2
        Capabilities: [f0] PCI Advanced Features

00:12.0 Signal processing controller: Intel Corporation Comet Lake Thermal Subsytem
        Subsystem: Intel Corporation Comet Lake Thermal Subsytem
        Flags: fast devsel, IRQ 16, IOMMU group 3
        Memory at 602311b000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: [50] Power Management version 3
        Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
        Kernel driver in use: intel_pch_thermal
        Kernel modules: intel_pch_thermal

00:14.0 USB controller: Intel Corporation Comet Lake PCH-LP USB 3.1 xHCI Host Controller (prog-if 30 [XHCI])
        Subsystem: Intel Corporation Comet Lake PCH-LP USB 3.1 xHCI Host Controller
        Flags: bus master, medium devsel, latency 0, IRQ 159, IOMMU group 4
        Memory at 6023100000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [70] Power Management version 2
        Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
        Capabilities: [90] Vendor Specific Information: Len=14 <?>
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci

00:14.2 RAM memory: Intel Corporation Comet Lake PCH-LP Shared SRAM
        Subsystem: Intel Corporation Comet Lake PCH-LP Shared SRAM
        Flags: fast devsel, IOMMU group 4
        Memory at 6023114000 (64-bit, non-prefetchable) [disabled] [size=8K]
        Memory at 602311a000 (64-bit, non-prefetchable) [disabled] [size=4K]
        Capabilities: [80] Power Management version 3

00:15.0 Serial bus controller [0c80]: Intel Corporation Serial IO I2C Host Controller
        Subsystem: Intel Corporation Serial IO I2C Host Controller
        Flags: bus master, fast devsel, latency 0, IRQ 16, IOMMU group 5
        Memory at 4010000000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: [80] Power Management version 3
        Capabilities: [90] Vendor Specific Information: Len=14 <?>
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci

00:15.2 Serial bus controller [0c80]: Intel Corporation Device 02ea
        Subsystem: Intel Corporation Device 2081
        Flags: bus master, fast devsel, latency 0, IRQ 18, IOMMU group 5
        Memory at 4010001000 (64-bit, non-prefetchable) [virtual] [size=4K]
        Capabilities: [80] Power Management version 3
        Capabilities: [90] Vendor Specific Information: Len=14 <?>
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci

00:16.0 Communication controller: Intel Corporation Comet Lake Management Engine Interface
        Subsystem: Intel Corporation Comet Lake Management Engine Interface
        Flags: bus master, fast devsel, latency 0, IRQ 162, IOMMU group 6
        Memory at 6023117000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: [50] Power Management version 3
        Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [a4] Vendor Specific Information: Len=14 <?>
        Kernel driver in use: mei_me
        Kernel modules: mei_me

00:17.0 SATA controller: Intel Corporation Comet Lake SATA AHCI Controller (prog-if 01 [AHCI 1.0])
        Subsystem: Intel Corporation Comet Lake SATA AHCI Controller
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 160, IOMMU group 7
        Memory at 56320000 (32-bit, non-prefetchable) [size=8K]
        Memory at 56323000 (32-bit, non-prefetchable) [size=256]
        I/O ports at 3090 [size=8]
        I/O ports at 3080 [size=4]
        I/O ports at 3060 [size=32]
        Memory at 56322000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [70] Power Management version 3
        Capabilities: [a8] SATA HBA v1.0
        Kernel driver in use: ahci
        Kernel modules: ahci

00:1c.0 PCI bridge: Intel Corporation Device 02bc (rev f0) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 122, IOMMU group 8
        Bus: primary=00, secondary=01, subordinate=39, sec-latency=0
        I/O behind bridge: 00004000-00005fff [size=8K]
        Memory behind bridge: 40000000-560fffff [size=353M]
        Prefetchable memory behind bridge: 0000006000000000-0000006021ffffff [size=544M]
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Intel Corporation Device 2081
        Capabilities: [a0] Power Management version 3
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Access Control Services
        Capabilities: [150] Precision Time Measurement
        Capabilities: [200] L1 PM Substates
        Capabilities: [220] Secondary PCI Express
        Capabilities: [250] Downstream Port Containment
        Kernel driver in use: pcieport

00:1d.0 PCI bridge: Intel Corporation Device 02b0 (rev f0) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 123, IOMMU group 9
        Bus: primary=00, secondary=3a, subordinate=3a, sec-latency=0
        I/O behind bridge: [disabled]
        Memory behind bridge: 56200000-562fffff [size=1M]
        Prefetchable memory behind bridge: [disabled]
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Intel Corporation Device 2081
        Capabilities: [a0] Power Management version 3
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Access Control Services
        Capabilities: [150] Precision Time Measurement
        Capabilities: [200] L1 PM Substates
        Capabilities: [220] Secondary PCI Express
        Capabilities: [250] Downstream Port Containment
        Kernel driver in use: pcieport

00:1d.5 PCI bridge: Intel Corporation Device 02b5 (rev f0) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 124, IOMMU group 10
        Bus: primary=00, secondary=3b, subordinate=3b, sec-latency=0
        I/O behind bridge: [disabled]
        Memory behind bridge: 56100000-561fffff [size=1M]
        Prefetchable memory behind bridge: [disabled]
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Intel Corporation Device 2081
        Capabilities: [a0] Power Management version 3
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Access Control Services
        Capabilities: [150] Precision Time Measurement
        Capabilities: [200] L1 PM Substates
        Capabilities: [220] Secondary PCI Express
        Capabilities: [250] Downstream Port Containment
        Kernel driver in use: pcieport

00:1f.0 ISA bridge: Intel Corporation Comet Lake PCH-LP LPC Premium Controller/eSPI Controller
        Subsystem: Intel Corporation Comet Lake PCH-LP LPC Premium Controller/eSPI Controller
        Flags: bus master, fast devsel, latency 0, IOMMU group 11

00:1f.3 Audio device: Intel Corporation Comet Lake PCH-LP cAVS (prog-if 80)
        Subsystem: Intel Corporation Comet Lake PCH-LP cAVS
        Flags: bus master, fast devsel, latency 32, IRQ 164, IOMMU group 11
        Memory at 6023110000 (64-bit, non-prefetchable) [size=16K]
        Memory at 6023000000 (64-bit, non-prefetchable) [size=1M]
        Capabilities: [50] Power Management version 3
        Capabilities: [80] Vendor Specific Information: Len=14 <?>
        Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel, snd_sof_pci_intel_cnl

00:1f.4 SMBus: Intel Corporation Comet Lake PCH-LP SMBus Host Controller
        Subsystem: Intel Corporation Comet Lake PCH-LP SMBus Host Controller
        Flags: medium devsel, IRQ 16, IOMMU group 11
        Memory at 6023116000 (64-bit, non-prefetchable) [size=256]
        I/O ports at efa0 [size=32]
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801

00:1f.5 Serial bus controller [0c80]: Intel Corporation Comet Lake SPI (flash) Controller
        Subsystem: Intel Corporation Comet Lake SPI (flash) Controller
        Flags: fast devsel, IOMMU group 11
        Memory at fe010000 (32-bit, non-prefetchable) [size=4K]

00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (10) I219-V
        DeviceName:  LAN
        Subsystem: Intel Corporation Ethernet Connection (10) I219-V
        Flags: bus master, fast devsel, latency 0, IRQ 145, IOMMU group 11
        Memory at 56300000 (32-bit, non-prefetchable) [size=128K]
        Capabilities: [c8] Power Management version 3
        Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Kernel driver in use: e1000e
        Kernel modules: e1000e

01:00.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018] (rev 06) (prog-if 00 [Normal decode])
        Physical Slot: 8
        Flags: bus master, fast devsel, latency 0, IRQ 16, IOMMU group 12
        Bus: primary=01, secondary=02, subordinate=39, sec-latency=0
        I/O behind bridge: 00004000-00004fff [size=4K]
        Memory behind bridge: 40000000-560fffff [size=353M]
        Prefetchable memory behind bridge: 0000006000000000-0000006021ffffff [size=544M]
        Capabilities: [80] Power Management version 3
        Capabilities: [88] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [ac] Subsystem: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018]
        Capabilities: [c0] Express Upstream Port, MSI 00
        Capabilities: [50] Capability ID 0x15 [0000]
        Capabilities: [100] Device Serial Number 9d-14-cc-c9-65-00-aa-00
        Capabilities: [200] Advanced Error Reporting
        Capabilities: [300] Virtual Channel
        Capabilities: [400] Power Budgeting <?>
        Capabilities: [500] Vendor Specific Information: ID=1234 Rev=1 Len=100 <?>
        Capabilities: [600] Vendor Specific Information: ID=8086 Rev=2 Len=04c <?>
        Capabilities: [700] Secondary PCI Express
        Capabilities: [800] Latency Tolerance Reporting
        Capabilities: [a00] L1 PM Substates
        Capabilities: [b00] Precision Time Measurement
        Kernel driver in use: pcieport

02:00.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018] (rev 06) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 125, IOMMU group 13
        Bus: primary=02, secondary=03, subordinate=03, sec-latency=0
        I/O behind bridge: [disabled]
        Memory behind bridge: 56000000-560fffff [size=1M]
        Prefetchable memory behind bridge: [disabled]
        Capabilities: [80] Power Management version 3
        Capabilities: [88] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [ac] Subsystem: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018]
        Capabilities: [c0] Express Downstream Port (Slot+), MSI 00
        Capabilities: [50] Capability ID 0x15 [0000]
        Capabilities: [100] Device Serial Number 9d-14-cc-c9-65-00-aa-00
        Capabilities: [200] Advanced Error Reporting
        Capabilities: [300] Virtual Channel
        Capabilities: [400] Power Budgeting <?>
        Capabilities: [500] Vendor Specific Information: ID=1234 Rev=1 Len=100 <?>
        Capabilities: [600] Vendor Specific Information: ID=8086 Rev=2 Len=04c <?>
        Capabilities: [700] Secondary PCI Express
        Capabilities: [900] Access Control Services
        Kernel driver in use: pcieport

02:01.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018] (rev 06) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 126, IOMMU group 14
        Bus: primary=02, secondary=04, subordinate=38, sec-latency=0
        I/O behind bridge: 00004000-00004fff [size=4K]
        Memory behind bridge: 40000000-55efffff [size=351M]
        Prefetchable memory behind bridge: 0000006000000000-0000006021ffffff [size=544M]
        Capabilities: [80] Power Management version 3
        Capabilities: [88] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [ac] Subsystem: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018]
        Capabilities: [c0] Express Downstream Port (Slot+), MSI 00
        Capabilities: [50] Capability ID 0x15 [0000]
        Capabilities: [100] Device Serial Number 9d-14-cc-c9-65-00-aa-00
        Capabilities: [200] Advanced Error Reporting
        Capabilities: [300] Virtual Channel
        Capabilities: [400] Power Budgeting <?>
        Capabilities: [500] Vendor Specific Information: ID=1234 Rev=1 Len=100 <?>
        Capabilities: [600] Vendor Specific Information: ID=8086 Rev=2 Len=04c <?>
        Capabilities: [700] Secondary PCI Express
        Capabilities: [900] Access Control Services
        Kernel driver in use: pcieport

02:02.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018] (rev 06) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 127, IOMMU group 15
        Bus: primary=02, secondary=39, subordinate=39, sec-latency=0
        I/O behind bridge: [disabled]
        Memory behind bridge: 55f00000-55ffffff [size=1M]
        Prefetchable memory behind bridge: [disabled]
        Capabilities: [80] Power Management version 3
        Capabilities: [88] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [ac] Subsystem: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018]
        Capabilities: [c0] Express Downstream Port (Slot+), MSI 00
        Capabilities: [50] Capability ID 0x15 [0000]
        Capabilities: [100] Device Serial Number 9d-14-cc-c9-65-00-aa-00
        Capabilities: [200] Advanced Error Reporting
        Capabilities: [300] Virtual Channel
        Capabilities: [400] Power Budgeting <?>
        Capabilities: [500] Vendor Specific Information: ID=1234 Rev=1 Len=100 <?>
        Capabilities: [600] Vendor Specific Information: ID=8086 Rev=2 Len=04c <?>
        Capabilities: [700] Secondary PCI Express
        Capabilities: [900] Access Control Services
        Kernel driver in use: pcieport

03:00.0 System peripheral: Intel Corporation JHL7540 Thunderbolt 3 NHI [Titan Ridge 2C 2018] (rev 06)
        Subsystem: Intel Corporation JHL7540 Thunderbolt 3 NHI [Titan Ridge 2C 2018]
        Flags: bus master, fast devsel, latency 0, IRQ 16, IOMMU group 16
        Memory at 56000000 (32-bit, non-prefetchable) [size=256K]
        Memory at 56040000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [80] Power Management version 3
        Capabilities: [88] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [c0] Express Endpoint, MSI 00
        Capabilities: [a0] MSI-X: Enable+ Count=16 Masked-
        Capabilities: [100] Device Serial Number 9d-14-cc-c9-65-00-aa-00
        Capabilities: [200] Advanced Error Reporting
        Capabilities: [300] Virtual Channel
        Capabilities: [400] Power Budgeting <?>
        Capabilities: [500] Vendor Specific Information: ID=1234 Rev=1 Len=100 <?>
        Capabilities: [600] Latency Tolerance Reporting
        Kernel driver in use: thunderbolt
        Kernel modules: thunderbolt

39:00.0 USB controller: Intel Corporation JHL7540 Thunderbolt 3 USB Controller [Titan Ridge 2C 2018] (rev 06) (prog-if 30 [XHCI])
        Subsystem: Intel Corporation JHL7540 Thunderbolt 3 USB Controller [Titan Ridge 2C 2018]
        Flags: bus master, fast devsel, latency 0, IRQ 161, IOMMU group 17
        Memory at 55f00000 (32-bit, non-prefetchable) [size=64K]
        Capabilities: [80] Power Management version 3
        Capabilities: [88] MSI: Enable+ Count=1/8 Maskable- 64bit+
        Capabilities: [c0] Express Endpoint, MSI 00
        Capabilities: [100] Device Serial Number 9d-14-cc-c9-65-00-aa-00
        Capabilities: [200] Advanced Error Reporting
        Capabilities: [300] Virtual Channel
        Capabilities: [400] Power Budgeting <?>
        Capabilities: [500] Vendor Specific Information: ID=1234 Rev=1 Len=100 <?>
        Capabilities: [600] Vendor Specific Information: ID=8086 Rev=2 Len=04c <?>
        Capabilities: [700] Secondary PCI Express
        Capabilities: [800] Latency Tolerance Reporting
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci

3a:00.0 Non-Volatile memory controller: Sandisk Corp WD Black SN750 / PC SN730 NVMe SSD (prog-if 02 [NVM Express])
        Subsystem: Sandisk Corp WD Black 2019/PC SN750 NVMe SSD
        Flags: bus master, fast devsel, latency 0, IRQ 16, NUMA node 0, IOMMU group 18
        Memory at 56200000 (64-bit, non-prefetchable) [size=16K]
        Memory at 56204000 (64-bit, non-prefetchable) [size=256]
        Capabilities: [80] Power Management version 3
        Capabilities: [90] MSI: Enable- Count=1/32 Maskable- 64bit+
        Capabilities: [b0] MSI-X: Enable+ Count=65 Masked-
        Capabilities: [c0] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [150] Device Serial Number 00-00-00-00-00-00-00-00
        Capabilities: [1b8] Latency Tolerance Reporting
        Capabilities: [300] Secondary PCI Express
        Capabilities: [900] L1 PM Substates
        Kernel driver in use: nvme
        Kernel modules: nvme

3b:00.0 SD Host controller: Genesys Logic, Inc Device 9755 (prog-if 01)
        Subsystem: Intel Corporation Device 2081
        Flags: fast devsel, IRQ 144, IOMMU group 19
        Memory at 56100000 (32-bit, non-prefetchable) [virtual] [size=4K]
        Capabilities: [80] Express Endpoint, MSI 00
        Capabilities: [e0] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [f8] Power Management version 3
        Capabilities: [100] Vendor Specific Information: ID=17a0 Rev=1 Len=008 <?>
        Capabilities: [108] Latency Tolerance Reporting
        Capabilities: [110] L1 PM Substates
        Capabilities: [200] Advanced Error Reporting
        Kernel driver in use: sdhci-pci
        Kernel modules: sdhci_pci

Well, yeah, I haven’t tested the RAM yet but based from the past occurrence of the issue, it’s clear that the symptom is when the roon-related services start taking up significant amount of RAM and as expected OOM killer will kill the service to stop this.

Up to this point, when I was restoring the database after the reinstall, I was using the Mar 27 backup. It could be that that in itself has the corruption. So I did another reinstall and restored the Mar 24 backup. Let’s see if that makes a difference.

Restoring to the Mar 24 backup did not make any difference.

I reinstalled again but this time I did not restore anything (so start from scratch) and after 2 days the issue is back. This is really getting out of hand. I filed a Roon support case since Thursday and haven’t gotten any replies yet!

@support @dylan @danny would you be able to help me here please?

Can you please send me your full logs from Roon?

The ones in /var/roon/RoonServer/Logs

Certainly. The issue happened again just now and I had to reinstall (and removing the whole /var/roon along the process because it’s a required step) but I still have snapshots of my var folder from a few days ago. Here you go:

the logs you sent show no issues, no symptoms at all.

When I was troubleshooting this while the issue is happening, I also don’t see anything in those logs which is why I stopped checking them. How do you propose we move forward? To summarize, when the issur starts:

  1. The roon service is still started but with a state of “not responding” as shown in some of the logs snippets in my previous posts.
  2. While the service is in this state, it will consume a lot of CPU and RAM resources until OOM killer kills the service.
  3. Reinstalling roon without deleting /var/roon does not solve the issue.
  4. Reinstalling roon after deleting /var/roon and starting fresh (no database restore) works temporarily until it starts happening again after around 1.5 days of uptime.

I need the newest logs from when the problem occurs. The logs you sent show me a functioning RoonServer.

Ok. You posted a little bit too late since the issue happened 30 minutes before your first post here. Now that I applied the workaround (reinstall plus delete /var/roon and restore from backup), I will need to wait for approximately 1.5 days for the issue to happen again. I’ll wait and make sure it comes to a point where OOM killer kills the service and I will get you the updated Logs folder again. While I’m at it, do you need any other set of logs for when the issue happens again?

/var/log/mesages or journalctl is good

Ok. Right now, one endpoint is streaming off of the Core and it’s taking a lot of RAM. Is this normal?

This might be related to this: Memory leak in Roon?! [See Staff Post] - #70 by Bill_Janssen

The person in the last post is saying his was using 48GB of RAM! That is insane.

@danny

Here are my roon logs so far:

The service didn’t stop yet but the RAM usage is messed up. It got to a point that it was at 90% (of 32GB) usage even without any endpoint streaming. I see tons of Tidal errors in there but not sure if that’s what’s causing it.

@danny ok, OOM killer just kicked in to kill roon. And as expected, the service won’t start anymore (not responding message). Here are the fresh set of logs:

/var/log/messages: Dropbox - messages - Simplify your life
journalctl -u roonserver.service -b: Dropbox - journalctl.txt - Simplify your life

These logs should show all events from the time I reported the high RAM usage a few hours ago up to the point where OOM killer kicked in. The physical RAM usage is very evident in the Roon logs and is mostly at 28GB or so.

Hi @Kevin_Mychal_Ong ,

Your var-log is showing quite a few hard disk errors, perhaps this is attributing to the memory leak:

Apr 10 03:14:35 nuc kernel: [738485.103974] EXT4-fs (sda1): error count since last fsck: 138
Apr 10 03:14:35 nuc kernel: [738485.103982] EXT4-fs (sda1): initial error at time 1629819004: htree_dirblock_to_tree:1003: inode 70516840
Apr 10 03:14:35 nuc kernel: [738485.103988] EXT4-fs (sda1): last error at time 1647358208: ext4_empty_dir:3005: inode 95815045

You may want to run a disk check, reinstall the OS and/or use a different hard drive.