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

partial revert of #2918 due to concurrency issues: Deadlock #3147

Closed

Conversation

javiertejero
Copy link

when opening many sockets the worker gets frozen consuming 100% cpu

to reproduce:

cd examples
python standalone_app_gthread.py

and then using Apache Bench tool:

ab -n1000 -c100 http://0.0.0.0:8080/

proposed solution: Partial revert of #2918

Fixes #3146

when opening many sockets the worker gets frozen consuming 100% cpu

to reproduce:

```
cd examples
python standalone_app_gthread.py
```

and then using Apache Bench tool:
```
ab -n1000 -c100 http://0.0.0.0:8080/
```

Fixes benoitc#3146
@javiertejero

This comment was marked as outdated.

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.

Gunicorn gthread deadlock
1 participant