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
Due to https://bugs.python.org/issue36054, when the above is run inside a container that has been allocated (say) a single core and 512 MB of RAM on a machine with 64 cores, flask-gunicorn thinks it has 64 cores instead of just 1, and spawns 129 workers. This is way more than the container has resources for, and ends up causing out of memory crashes.
The text was updated successfully, but these errors were encountered:
flask-gunicorn/flask_gunicorn.py
Line 26 in cb571ff
Due to https://bugs.python.org/issue36054, when the above is run inside a container that has been allocated (say) a single core and 512 MB of RAM on a machine with 64 cores, flask-gunicorn thinks it has 64 cores instead of just 1, and spawns 129 workers. This is way more than the container has resources for, and ends up causing out of memory crashes.
The text was updated successfully, but these errors were encountered: