Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CPU/mem limits on child processes #4

Open
yozlet opened this issue Oct 26, 2010 · 4 comments
Open

CPU/mem limits on child processes #4

yozlet opened this issue Oct 26, 2010 · 4 comments

Comments

@yozlet
Copy link

yozlet commented Oct 26, 2010

At the moment the sandbox run time is limited by wall clock time - would be good to find a way to limit it by more precise factors e.g. CPU clock time, memory size etc. I know very little about this stuff - any way to use POSIX setrlimit() here?

@gf3
Copy link
Owner

gf3 commented Oct 26, 2010

Neat idea. I'll look into it.

@bmeck
Copy link
Collaborator

bmeck commented Jan 2, 2012

After some talk : going to create this as a 0.6.x+ feature and it will be *nix only using setrlimit. Anyone using this should be aware of older Linux kernels not handling setrlimit properly until a patch in 2008 (couldn't find direct link). This will require a C++ addon.

@RobKohr
Copy link

RobKohr commented Apr 11, 2012

hi bmeck, did you ever get around to implementing this? It would be a super useful feature.

@bmeck
Copy link
Collaborator

bmeck commented Apr 11, 2012

I did not. Feel free to ad it if you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants