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

Limit CPU use #40

Open
jonblack opened this issue Oct 27, 2016 · 3 comments
Open

Limit CPU use #40

jonblack opened this issue Oct 27, 2016 · 3 comments
Assignees

Comments

@jonblack
Copy link
Contributor

jonblack commented Oct 27, 2016

MRS can take over a machine because there's no limit on memory or CPU use. This is particularly bad for memory use because it ends up using the swap drive, even on chelonium which has 128GB of memory.

Limit the number of threads to 32. This is a command-line option to mrs.

@cbaakman
Copy link
Contributor

Perhaps #21 is related.

@jonblack jonblack changed the title Limit CPU and memory in docker Limit CPU use Oct 27, 2016
@jonblack jonblack assigned cbaakman and unassigned jonblack Nov 1, 2016
@cbaakman
Copy link
Contributor

cbaakman commented Nov 2, 2016

Command line arguments mrs server cannot be combined with --threads. We have to limit cpu usage in a different way. How about calling ulimit from within the docker container?

@jonblack
Copy link
Contributor Author

jonblack commented Nov 2, 2016

There are docker options for this. I will look into it.

@jonblack jonblack assigned jonblack and unassigned cbaakman Nov 2, 2016
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

2 participants