Thx And Bye Posted November 16, 2021 Share Posted November 16, 2021 (edited) 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, 2021 by Thx And Bye Link to comment
OmgImAlexis Posted November 16, 2021 Share Posted November 16, 2021 Can I ask which version of the plugin you're on? Link to comment
Thx And Bye Posted November 17, 2021 Author Share Posted November 17, 2021 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. Link to comment
monarc Posted December 24, 2021 Share Posted December 24, 2021 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. Link to comment
OmgImAlexis Posted December 24, 2021 Share Posted December 24, 2021 I believe the next update should address this issue. I don’t know exactly when that’ll be though. Sorry. 1 Link to comment
Thx And Bye Posted January 8, 2022 Author Share Posted January 8, 2022 (edited) 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, 2022 by Thx And Bye 1 Link to comment
OmgImAlexis Posted January 8, 2022 Share Posted January 8, 2022 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? Link to comment
Thx And Bye Posted January 8, 2022 Author Share Posted January 8, 2022 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. Link to comment
OmgImAlexis Posted January 10, 2022 Share Posted January 10, 2022 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. Link to comment
Recommended Posts