Have you considered supporting setting resource limits for the processes that shawl spawns to get functionality similar to resource limits in kubernetes / docker (cgroups).
Windows supports restricting processes using the https://docs.rs/win32job/latest/win32job/.
I tested resource limits chaining shawl with procgov (https://github.com/lowleveldesign/process-governor), but I think it would be nicer to have this in shawl itself:
sc config "myservice" binPath= "C:\shawl\shawl.exe run -- C:\shawl\procgov.exe --maxmem 1M -- pwsh.exe"
Have you considered supporting setting resource limits for the processes that shawl spawns to get functionality similar to resource limits in kubernetes / docker (cgroups).
Windows supports restricting processes using the https://docs.rs/win32job/latest/win32job/.
I tested resource limits chaining shawl with procgov (https://github.com/lowleveldesign/process-governor), but I think it would be nicer to have this in shawl itself: