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

Default max_active based on available memory #585

Closed
donkirkby opened this issue Jul 16, 2020 · 0 comments
Closed

Default max_active based on available memory #585

donkirkby opened this issue Jul 16, 2020 · 0 comments

Comments

@donkirkby
Copy link
Member

A couple of times, we've seen the micall_docker.py die when it runs out of memory. It currently defaults the number of worker processes to equal the number of processors, but we should also look at the available memory. It probably makes sense to require somewhere between 2GB and 6GB per process.

@donkirkby donkirkby added this to the 7.13 milestone Jul 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant