Skip to content

Feature Request: Support setting memory limit (win32jobs) #73

Description

@quality-leftovers

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions