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

server hangs #1

Open
noam1023 opened this issue Jun 30, 2019 · 2 comments
Open

server hangs #1

noam1023 opened this issue Jun 30, 2019 · 2 comments

Comments

@noam1023
Copy link
Collaborator

server does not respond to http requests.
Possibly because worker threads are busy

Increased num_workers from 2 to 4.

@noam1023
Copy link
Collaborator Author

noam1023 commented Jul 4, 2019

https://rushter.com/blog/gunicorn-and-low-and-slow-attacks/

action: add NGINX container in front of gunicorn

@noam1023
Copy link
Collaborator Author

noam1023 commented Oct 7, 2019

try this setup for reproduction:

  • server runs on pc in docker
  • gunicorn with 2 threads
  • run the uploader.sh with actual zip from Moodle.
  • repeat until hang

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