> Hi,
>
>   I am getting below error everyday. i don't know what setting i missed.
> Please help me
>
> Error :
>  2015/02/06 11:49:06 [error] 23306#0: *49 connect() to
> unix:///var/run/uwsgi/test_uwsgi.sock failed (11: Resource temporarily
> unavailable) while connecting to upstream
> , client: 192.168.1.10, server: test.org, request: "GET
> /accounts/profile/gfgckkp/ HTTP/1.1", upstream:
> "uwsgi://unix:///var/run/uwsgi/test_uwsgi.sock:"
> , host: "test.org"
>
>
> My uwsgi.ini file
>
>
> [uwsgi]
>
> ## Django-related settings
> chdir=/websites_dir/django_test/test
>
> module=test.wsgi:application
>
> ## The Virtualenv
> virtualenv=/websites_dir/django_test/test_virtualenv
>
> ## socket full path
> socket=/var/run/uwsgi/test_uwsgi.sock
>
> ## appropriate user and permissions
> uid=apache
> gid=apache
> chmod-socket=664
> chown-socket=apache:apache
>
> ######  process-related settings ######
> master=True
>
> ## maximum number of worker processes
> workers=8
>
> ## process ID path
> pidfile=/websites_dir/django_test/test/uwsgi-master.pid
>
> ## respawn processes after serving 30000 requests
> max-requests=30000
>
> ## background the process & log
> daemonize=/var/log/uwsgi/django_test.log
> log-date=%%a %%b %%d %%H:%%M:%%S
>
>
>
>
>

This generally happens when your app has no more processes to manage
requests and the listen queue is full. Use uwsgitop (or similar) to
monitor it and eventually tune the number of processes.


-- 
Roberto De Ioris
http://unbit.com
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to