gunicorn + django + nginx unix://socket failed (11: Resource temporarily unavailable)
Solution 1:
I was able to get around this issue by editing /proc/sys/net/core/somaxconn
from 128 to 20000. This allows larger bursts of traffic. I may not have needed to set it so high, but this application can burst very high. I am also using gunicorn & nginx.
Solution 2:
In my case, this error was because of my gunicorn configuration:
worker_class = "sync"
Which I fixed using:
worker_class = "gevent" # "sync"