November 16, 20214 yr Hey, so I've noticed on multiple occasions that the MyServers plugin will lose connection and then cause a high CPU usage. It also spawns a lot of "sh" subprocesses without ever successfully establishing a connection again. executing 'unraid-api restart' solves this for at least a day or two. No more spawned 'sh' childs anymore too. Should I just restart via a user script every 24 hours as a workaround or is this a more general issue that can be fixed in the plugin code? All else kept the same, after a restart of unraid-api my load average drops from around 1.60 1.75 1.89 to 0.38 0.76 1.36 after about 10 minutes or so. This is significant CPU load and thus power usage that is completely wasted. If there are any logs I can provide I'll happily do so. The system log doesn't show any anomalies tho. Edited November 16, 20214 yr by Thx And Bye
November 17, 20214 yr Author On 11/16/2021 at 8:08 PM, OmgImAlexis said: Can I ask which version of the plugin you're on? I'm on version 2021.10.12.1921 currently, so it should be the most recent one. But this issue is present at least for a few versions now.
December 24, 20214 yr Any news on this? I see the same issue with the high CPU load on my Unraid Sysem (6.9.2) with MyServers version 2021.10.12.1921. A unraid-api restart helps, but after a day or two high cpu for the unraid-api process is back.
December 24, 20214 yr I believe the next update should address this issue. I don’t know exactly when that’ll be though. Sorry.
January 8, 20224 yr Author On 12/24/2021 at 1:03 AM, monarc said: Any news on this? For now I'm running a user script on a daily schedule as a workaround: #!/bin/bash /usr/local/bin/unraid-api/unraid-api restart Edited January 8, 20224 yr by Thx And Bye
January 8, 20224 yr 21 minutes ago, Thx And Bye said: For now I'm running a user script on a daily schedule as a workaround: #!/bin/bash /usr/local/bin/unraid-api/unraid-api restart Just to check do any of your containers have health checks?
January 8, 20224 yr Author 3 hours ago, OmgImAlexis said: Just to check do any of your containers have health checks? Yes, two of them have. plexinc/pms-docker has it build in and I've created my own that checks that my VPN container is properly connected.
January 10, 20224 yr On 1/8/2022 at 11:23 PM, Thx And Bye said: Yes, two of them have. plexinc/pms-docker has it build in and I've created my own that checks that my VPN container is properly connected. Okay, is there any chance you could try running the api without those containers or healthchecks and see if you notice the CPU still spiking? If that resolves it then the next plg update should fix this for you.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.