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

[HyBox/production] ThreadError: can't create Thread: Resource temporarily unavailable #791

Closed
cbeer opened this issue Feb 16, 2017 · 3 comments
Milestone

Comments

@cbeer
Copy link
Member

cbeer commented Feb 16, 2017

Backtrace

line 26 of [PROJECT_ROOT]/lib/active_job_tenant.rb: block in perform_now
line 42 of [PROJECT_ROOT]/lib/active_job_tenant.rb: block in switch
line 41 of [PROJECT_ROOT]/lib/active_job_tenant.rb: switch

View full backtrace and more info at honeybadger.io

@jcoyne
Copy link
Member

jcoyne commented Feb 16, 2017

@eefahy @bbranan Hitting nproc or ulimit?

@bbranan
Copy link
Contributor

bbranan commented Feb 16, 2017

Discussion here rubygems/bundler#4367 suggests it's hitting the nproc limit, either because that limit is too low or because threads aren't getting closed. On the worker instance, ulimit -u returns 15734.

@jcoyne
Copy link
Member

jcoyne commented Feb 16, 2017

How many concurrent jobs are being attempted on each worker box?

@mjgiarlo mjgiarlo modified the milestone: Backlog May 1, 2017
@atz atz closed this as completed May 9, 2017
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

5 participants