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

Set Limit for running task #17

Closed
5 tasks done
Tracked by #2
slhmy opened this issue Dec 26, 2021 · 0 comments · Fixed by #18
Closed
5 tasks done
Tracked by #2

Set Limit for running task #17

slhmy opened this issue Dec 26, 2021 · 0 comments · Fixed by #18

Comments

@slhmy
Copy link
Member

slhmy commented Dec 26, 2021

This issue will be solved by using setrlimit call.

The limits that are supposed to set are:

  • RLIMIT_STACK stack limit
  • RLIMIT_AS memory limit
  • RLIMIT_CPU cpu time limit (in seconds)
  • RLIMIT_NPROC max process number
  • RLIMIT_FSIZE max output size
@slhmy slhmy mentioned this issue Dec 26, 2021
4 tasks
@slhmy slhmy linked a pull request Jan 3, 2022 that will close this issue
@slhmy slhmy added this to the Implement Runner milestone Jan 3, 2022
@slhmy slhmy closed this as completed Jan 3, 2022
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

Successfully merging a pull request may close this issue.

1 participant