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

libgomp: Thread creation failed: Resource temporarily unavailable #622

Open
markstur opened this issue Dec 19, 2023 · 0 comments
Open

libgomp: Thread creation failed: Resource temporarily unavailable #622

markstur opened this issue Dec 19, 2023 · 0 comments

Comments

@markstur
Copy link
Contributor

Describe the bug

Under high concurrency testing, latency got slower, timeouts started to happen, and we get intermittent " libgomp: Thread creation failed: Resource temporarily unavailable".

Not sure how best to characterize the "concurrency", but on CPU I'd say we test w/ 100 concurrent requests and see latency degrade and at 500 we start getting errors.

This is a regression that showed up in 0.25.6.

NOTE! It looks like configuring server_thread_pool_size: 5 fixes it. In 0.25.6 that default was changed from 5 to 100 (related to HTTP issues). We are only using gRPC.

Platform

Please provide details about the environment you are using, including the following:

  • Interpreter version:
  • Library version: Comparing 0.25.x versions

Sample Code

Please include a minimal sample of the code that will (if possible) reproduce the bug in isolation

Expected behavior

In my case, it seems like the default should be the better performing 5.

Ideally limits would prevent the resource error from ever happening (but don't know how possible that is to fix).

Observed behavior

What you see happening (error messages, stack traces, etc...)

Additional context

Add any other context about the problem here.

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