February 22, 20206 yr So I've noticed that when my SABnzbd is doing post-download work (decompression), my CPU usage spikes to pretty much 100% on all cores. This is causing freezing on any stream I'm watching. Is there any way to set the docker running SABnzbd to wait until there is no/little activity on the other dockers? Or, if that's not possible to automatically limit it to run at certain times (say 2300-1100) unless manually triggered to limit the impact? Dockers: binhex-sabnzbd, PlexMediaServer, binhex-radarr, binhex-sonarr, EmbyServer
February 22, 20206 yr 10 minutes ago, Netbug said: docker running SABnzbd to wait until there is no/little activity on the other dockers? https://forums.unraid.net/topic/57181-docker-faq/page/2/?tab=comments#comment-566087
February 22, 20206 yr Author 10 minutes ago, itimpi said: Why not simply limit the cores the docker is allowed to use? I thought of that, but there are a lot of times when we're not streaming and there can be quite a backlog of stuff, so I think it would work, but much less efficient.
February 22, 20206 yr Author 4 minutes ago, Squid said: https://forums.unraid.net/topic/57181-docker-faq/page/2/?tab=comments#comment-566087 This looks like exactly what I'm trying to do. So just to be clear, I could set the "Extra Parameters" of the binhex-sabnzbd in the "Advanced" view to "--cpu-shares=2" and that would limit that docker to only use 2 cores when other cores are in use. Is that correct?
February 22, 20206 yr Community Expert 1 minute ago, Netbug said: This looks like exactly what I'm trying to do. So just to be clear, I could set the "Extra Parameters" of the binhex-sabnzbd in the "Advanced" view to "--cpu-shares=2" and that would limit that docker to only use 2 cores when other cores are in use. Is that correct? The way to do this is to go into Edit mode on the docker and then switch to Advanced view (at top right) to see the options for pinning the container to running only on specific CPUs
February 22, 20206 yr Not exactly. You wanted to limit CPU resources of SAB when other docker apps want / need them. That setting sets Sab to be the absolute lowest priority of any given docker container. Such that every container has priority over it (default cpu shares setting is 1024) Sab can still use all the cores, but it runs at such a low priority when say Plex requires them that it shouldn't make a huge dent.
February 22, 20206 yr @itimpi and myself ( @Squid ) are giving two possible solutions. Either via pinning cores or dynamically via cpu-shares. They are not the same solution.
February 22, 20206 yr Author Wonderful. Thank you folks. I will play around with it and see how it goes.
August 2, 20214 yr On 2/22/2020 at 2:48 PM, Squid said: That setting sets Sab to be the absolute lowest priority of any given docker container. Such that every container has priority over it (default cpu shares setting is 512) I have been experimenting with "--cpu-shares" and it does not what I am intending to do. I read everywhere that the default value is 1024, are you sure it's 512? Is this some kind of special setting in unRaid or just a typo?
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.