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

Change rlimit nproc resource limit to apply to the autotester process #587

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ch-iv
Copy link

@ch-iv ch-iv commented Feb 24, 2025

This PR changes the rlimit nproc resource limit to apply to the autotester process, which changes to the limit to be "per worker" rather than for the entire docker user.

Refactors the set_rlimits_before_test function to remove the nproc adjustment (it became obsolete due to earlier changes). Also removes rlimit validation in the autotester in favor of letting the syscall do it.

Still WIP. Need to add tests and docs.

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 this pull request may close these issues.

1 participant