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

Double ulimit wrapper #39

Closed
Gbury opened this issue May 31, 2020 · 2 comments
Closed

Double ulimit wrapper #39

Gbury opened this issue May 31, 2020 · 2 comments

Comments

@Gbury
Copy link
Collaborator

Gbury commented May 31, 2020

Currently it seems that provers run by benchpress are wrapped twice in a ulimit wrapper, which is at the very least superfluous, and I suspect might be one reason why I continue to have zombie processes when running benchmarks.

Additionally, the two wrappers do not enforce the same limits, which may or may not make things even more confusing.

For the record here is the command run for a timeout of 600s and 2G memory limit, as per benchpress logs:

cmd "ulimit -t 600 -m 2000000 -Sv 16000000; ulimit -t $(( 1 + 600)) -v $(( 1200 * 2000 )); <prover_cmd>
@Gbury
Copy link
Collaborator Author

Gbury commented May 31, 2020

Additionally, after a more careful reading, the first/outermost ulimit seems to not use the correct options (using -m instead of -v for the given memory limit and using a constant for -v)

@Gbury
Copy link
Collaborator Author

Gbury commented Jul 16, 2020

Solved by #41

@Gbury Gbury closed this as completed Jul 16, 2020
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

1 participant