You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
the issues are caused by werkzeug lib,when running python app.py and when doing too much operations/requests then it ends in some race condtition.
This ends with RuntimeError, after which no futher web requests are processed - new connections are accepted but hang indefinetly.
To Reproduce
Steps to reproduce the behavior:
python app.py
run apache bench/locust whatever (even while true; curl http://127.0.0.1:8080/snapshot;done in 5 terminals should be enough
see how app dies after about 15s
Expected behavior
Processing is properly handled, no errors.
Screenshots
No screesnhots
Desktop (please complete the following information):
Ubuntu 22.04 + any browser/curl
Smartphone (please complete the following information):
N/A
Additional context
Possible fix
switch to gunicorn, havent tested but it probably handles this much better but with --worker 1
The text was updated successfully, but these errors were encountered:
Describe the bug
the issues are caused by werkzeug lib,when running
python app.py
and when doing too much operations/requests then it ends in some race condtition.This ends with RuntimeError, after which no futher web requests are processed - new connections are accepted but hang indefinetly.
To Reproduce
Steps to reproduce the behavior:
python app.py
while true; curl http://127.0.0.1:8080/snapshot;done
in 5 terminals should be enoughExpected behavior
Processing is properly handled, no errors.
Screenshots
No screesnhots
Desktop (please complete the following information):
Ubuntu 22.04 + any browser/curl
Smartphone (please complete the following information):
N/A
Additional context
Possible fix
switch to gunicorn, havent tested but it probably handles this much better but with --worker 1
The text was updated successfully, but these errors were encountered: