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

workload/tpcc: limit parallelism for worker initialization #36913

Merged
merged 1 commit into from
Apr 18, 2019

Conversation

RaduBerinde
Copy link
Member

Add a semaphore to avoid initializing all workers in parallel - for
10k warehouses, we have 100k workers and that can lead to OOM.

Fixes #36897.

Release note: None

Add a semaphore to avoid initializing all workers in parallel - for
10k warehouses, we have 100k workers and that can lead to OOM.

Fixes cockroachdb#36897.

Release note: None
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@RaduBerinde
Copy link
Member Author

bors r+

@craig
Copy link
Contributor

craig bot commented Apr 17, 2019

Build failed

@RaduBerinde
Copy link
Member Author

bors r+

craig bot pushed a commit that referenced this pull request Apr 18, 2019
36913: workload/tpcc: limit parallelism for worker initialization r=RaduBerinde a=RaduBerinde

Add a semaphore to avoid initializing all workers in parallel - for
10k warehouses, we have 100k workers and that can lead to OOM.

Fixes #36897.

Release note: None

Co-authored-by: Radu Berinde <radu@cockroachlabs.com>
@craig
Copy link
Contributor

craig bot commented Apr 18, 2019

Build succeeded

@craig craig bot merged commit dcc290d into cockroachdb:master Apr 18, 2019
@RaduBerinde RaduBerinde deleted the workload-tpcc-oom branch April 18, 2019 15:08
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.

workload/tpcc: runtime out of memory when partitioning
3 participants