Commit Graph

6 Commits

Author SHA1 Message Date
Ingo Oppermann
d391e274d7 Fix wrong memory limit, add total memory, add cpu and memory consumed by core itself to node resources 2024-07-25 21:13:49 +02:00
Ingo Oppermann
480dbb7f53 Refactor cluster node code 2024-07-09 12:26:02 +02:00
Ingo Oppermann
022c5c1a6d Emit warnings 2023-09-11 14:42:46 +02:00
Ingo Oppermann
51d8b30e8f Fix MaxCPU and MaxMemory semantics
If a limit of 0 (or negative) is given for both cpu and memory, then
no limiting will be triggered. If any value between 1 and 100 (inclusive)
is given, then limiting will be triggered when that limit is reached.

I.e. giving a limit of 100 doesn't not mean unlimited.
2023-07-12 11:53:39 +02:00
Ingo Oppermann
519f39b217 Fix returning wrong value for HasLimits 2023-07-12 11:38:40 +02:00
Ingo Oppermann
fc03bf73a2 Make resource manager a main module and expose more details 2023-06-06 21:28:08 +02:00