Unable to add more gunicorn workers on Django project
Hey π
Just upgraded to Pro, I wanted to add more gunicorn workers to get more capacity (going from 8 -> 16), but the additional workers are unable to start.
Error message:
It runs fine locally, any hint?
Thanks in advance !
Solution:Jump to solution
Fixed by adding os.environ['OPENBLAS_NUM_THREADS'] = '1' on app start (from https://stackoverflow.com/a/57549064), not sure why it works π€·
3 Replies
Project ID:
946c760b-c58f-4c9a-98b8-b3fe1d360c6c
946c760b-c58f-4c9a-98b8-b3fe1d360c6c
Solution
Fixed by adding os.environ['OPENBLAS_NUM_THREADS'] = '1' on app start (from https://stackoverflow.com/a/57549064), not sure why it works π€·