Skip to content

Instantly share code, notes, and snippets.

@superdaigo
Created August 16, 2012 10:30
Show Gist options
  • Save superdaigo/3369125 to your computer and use it in GitHub Desktop.
Save superdaigo/3369125 to your computer and use it in GitHub Desktop.
gunicorn_django syncworker socket error
Traceback (most recent call last):
File "/home/oreore/app/env/lib/python2.6/site-packages/gunicorn/workers/sync.py", line 33, in run
client, addr = self.socket.accept()
File "/usr/lib64/python2.6/socket.py", line 197, in accept
sock, addr = self._sock.accept()
error: [Errno 11] Resource temporarily unavailable
@superdaigo
Copy link
Author

Here is my environemnt

$ pip freeze
Django==1.4.1
MySQL-python==1.2.3
distribute==0.6.10
django-uni-form==0.9.0
gunicorn==0.14.5
raven==2.0.3
requests==0.13.5
simplejson==2.4.0
slumber==0.4.2
virtualenv==1.5.1
wsgiref==0.1.2

run by supervisord like below.

exec gunicorn_django -c "${APP_PATH}/etc/gunicorn.py" 

It works almost properly but creates error log... :-(

@aehlke
Copy link

aehlke commented Nov 30, 2012

I get this too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment