Roon ARC Causing RoonServer/Remote Performance Issues [Solved]

Hello everyone,

Thank you again for your ongoing patience as we work to isolate symptoms for each case reported here. As noted above, we have identified one potential mechanism for the behavior reported, and the next step is to cross-index against the individual reports above. Thus, the call for technical detail and our unusually tight enforcement of #support posting guidelines within this thread.

As a next step, we want to request a few volunteers to run Roon with a Command Flag to activate more granular logging for our developers. The specific Command Flag here is -perftimers; Iā€™ve included instructions for each operating system below.

Please note: activating the -perftimers command line flag will create highly verbose logging in RoonServer/Roon logs.

Windows RoonServer/Roon Machine (All-In-One)

  1. Right-click the Roon icon and select ā€œpropertiesā€ from the drop-down menu
  2. You will see a text input field titled ā€œTargetā€. At the end of the ā€œtargetā€ input line, add -perftimers.
  3. Make sure the ā€œstart inā€ input field ends with ā€œapplication folderā€ and nothing else
  4. Start Roon by double-clicking on the shortcut
  5. Reproduce the problem within Roon and ARC
  6. Please post here to let us know that youā€™ve volunteered to start with the flag. :golf:

Mac RoonServer/Roon Machine (All-In-One)

  1. Open Terminal (Applications/Utilities ā†’ Terminal)
  2. Add this command line:
    /Applications/ Roon.app/Contents/MacOS/Roon-perftimers
  3. Hit ā€œEnterā€ to run Roon
  4. Reproduce the problem within Roon and ARC
  5. Please post here to let us know that youā€™ve volunteered to start with the flag. :golf:

Linux RoonServer Machine

  1. Find and open the RoonAppliance startup script. This file is /opt/RoonServer/Appliance/RoonAppliance by default, but individual Linux installations may vary
  2. Add the flag to the end of the last line in the script, giving something like:
    exec "$HARDLINK" --debug --gc=sgen --server "$SCRIPT.exe" "$@" -perftimers
  3. Restart RoonServer. To do this, open a terminal and type sudo pkill start.sh You will be prompted for your password, type it in and then press enter, then wait for RoonServer to be restarted.
  4. Reproduce the problem within Roon and ARC
  5. Please post here to let us know that youā€™ve volunteered to start with the flag. :golf:

ROCK

  1. Find the ROCK network folder by following the instructions in the ā€œMethod #2: Importing To Network Folderā€ section in this article
  2. Create a simple text file in that directory with the following name (all one word, no caps, no extension): roonserverargs
  3. Inside that file, add one line with the command flag requested: -perftimers
  4. Restart RoonServer in the ROCK web interface: type ā€œROCKā€ into the address bar in any web browser, then click the ā€œrestartā€ button under ā€œRoon Server Softwareā€
  5. After recreating the issue and posting here to notify Roon Support, remember to go back and delete the roonserverargs file.

Please post here if youā€™re willing to activate more granular logging with the -perftimers command line flag. Weā€™ll be awaiting your response. Thank you again!

5 Likes

Activated on Mac OS.

Note that you need to remove the space in the command line where it says " Roon.app". I closed the Roon server when I ran the command the first time, but that resulted in ARC app not working from the start. 2nd time I left the Roon server running and now it seems to work. Itā€™s correct that the command line keeps open and running logging?

1 Like

The RoonServer is always logging whether you add this command or not. This command just increases the amount of activity that is logged.

1 Like

I did not understand entirely how to activate on macOS for RoonServer. I donā€™t run Roon on the core Mac, only RoonServer.

Hello @Connor,

I added it to the RoonAppliance (Roon running in Unraid docker).
I am trying to let it crash, but so far no crashes.

At 21:13 poor connection and still at 21:23 on cellular 4G.

Other apps no problem, download test gives 40mb.

22:01 back home and canā€™t connect to core with remote app too.

08:51 Canā€™t connect with my MacMini to RoonServer either, so restarted RoonServer in the Docker

18:49 went for a short car drive and ARC is not updating cover art:

@connor I have a sonictransporter running SonicOrbiter OS - do I use the ROCK method to enable this?
thanks
Nick

:golf: All setup @connor

Edit: wish I hadnā€™t now :disappointed:
My Windows machine now keeps crashing and needs a full power down to get going again, until Roon restarts and then does it all over again. Had to quite Roon server and stop it starting on reboot.

Any ideas @connor ?

Edit 2: forgot to mention, needed to shutdown Roon as my Windows machines does other things :wink:

Iā€™ve turned it on on the my Linux Core. Arc has been unusually stable over the last few days but for once Iā€™ll hope for quick crash :D.

Is there an update coming? Arc has been unstable for a while and today crashed multiple times. Thanks!

@Connor I had 2 events since I turned on the flag. Let me know what I need to share with you.

1 Like

Thanks Connor. Just activated on my server. Will report in the event of a crash.

1 Like

Hi @AMT,

Sorry to hear that youā€™re experiencing a startup issue. I recommend clearing the Roon install to verify the flag is unset.

  • Make a Backup of your current RoonServer Database
  • Exit out of RoonServer
  • Navigate to your RoonServerā€™s Database Location
  • Find the folder that says ā€œRoonServerā€
  • Rename the ā€œRoonServerā€ folder to ā€œRoonServer_oldā€
  • Reinstall the RoonServer App from our Downloads Page to generate a new RoonServer folder
  • On the Roon Remotes, press ā€œUse another Coreā€ and connect to the new database

Cheers @connor :+1:

Iā€™ll do this a little later.

:innocent:

Greetings,
Iā€™ve been using Roon ARC for several months both from my car and local network. My Roon core (2.0) is installed on a large QNAP NAS and always shows as running.
It is always unstable, especially when using remotely. It may start playing ok, then go into the spinning wheel, or error with Core Unreachableā€¦ā€¦
Roon ARC is no longer a new software product. Surely there is a definitive setup program or at least instructions. At the moment it is unusableā€¦.
Cheers,
Steve

@connor - my core has gone into zombie mode again today. I have the logs (with -perftimers enabled), and I also have memory dumps of RoonServer.exe and RoonAppliance.exe. Where can I upload them to?

I havenā€™t restarted it yet, so let me know if thereā€™s anything else I can capture.

I also have had it happen and have got the logs as well. Happy to upload wherever you need them. I believe in the past a link to upload them to you has been provided?

Instructions are here, in Overview:

1 Like

Thank you, no idea how I managed to look past that when searching for it. Iā€™ve uploaded the logs from the few minutes around time it happened plus the full log that had it in there.

1 Like

Iā€™ve had this issue happen quite a lot - drives me mad. Restarting the ROCK server fixes the issue.

Trying to diagnose when this happens, it seems to be when I change networks. So if I move from 4/5G to WIFI and back again (using ARC) itā€™ll probably trigger the issue and require a restart before any of the end points are accessible again.

Iā€™ve uploaded my logs as well. The memory dump is bigger than 100mb (even compressed) so let me know if you need it and I can send it some other way.