panel icon indicating copy to clipboard operation
panel copied to clipboard

Unable to remove pinned CPUs once set until server restarts.

Open Oberfail opened this issue 5 years ago • 5 comments

  • Panel or Daemon: idk, i'd guess wings
  • Version of Panel/Daemon: 1.2.2 & 1.2.3
  • Server's OS: Debian 10
  • Your Computer's OS & Browser: Winblows 10 & Firefox

Steps to reproduce the behavior:

  1. Pin a Core to any server
  2. Remove the CPU Pinning and press Update Build Config

A clear and concise description of what you expected to happen: No Cores should be pinned anymore

Oberfail avatar Jan 27 '21 07:01 Oberfail

I've pinned a core, saved, removed a pinned core, saved, and it was removed. Did I misunderstand your issue or?

trenutoo avatar Jan 27 '21 07:01 trenutoo

Not really, i've tested it on 2 different machines. I'll make a Video so it might be clearer.

//edit: there you go: https://youtu.be/N-rNZJJYAVQ same thing on my non-canary panel which is on 1.2.2 & 1.2.3

Oberfail avatar Jan 27 '21 07:01 Oberfail

Not really, i've tested it on 2 different machines. I'll make a Video so it might be clearer.

//edit: there you go: https://youtu.be/N-rNZJJYAVQ same thing on my non-canary panel which is on 1.2.2 & 1.2.3

Can you explain your problem, as I don't see it?

You are pinning cores 0-7, after that, you are pinning core 0. If you want to disable pinning, then leave it empty and restart the server to rebuild.

trenutoo avatar Jan 27 '21 08:01 trenutoo

If I pin Core 0 and remove the pinning, its still pinned to Core 0. If I pin Core 0-2 and remove the pinning, its still pinned to 0-2.

Removing the pinning does nothing. There is no Value in it so the previous value isn't getting overwritten.

Oberfail avatar Jan 27 '21 18:01 Oberfail

Nothing I can do about this right now, it is an issue with Docker, tracking here: https://github.com/moby/moby/issues/41946

For now the only solution is to just reboot the server when removing the pinning. You can modify it all you want without trouble.

Edit: This also appears to affect setting memory limits to 0 while the server is running.

DaneEveritt avatar Jan 28 '21 05:01 DaneEveritt