> Hi, > > We're running uwsg server with following config: > > # These setting are for test.juicenectar.com > [uwsgi] > env = xxx=xxx.settings.test_settings > master = true > processes = 4 > module = jump.wsgi > uid = ubuntu > gid = ubuntu > http = :8002 > daemonize = /var/log/app/uwsgi-test.log > # This is your virtualenv directory > home = /srv/app/.app-venv > socket = /tmp/uwsgi-test.sock > pidfile = /var/run/uwsgi-test.pid > vacuum = true > > chmod-socket = 660 > > It hangs every 10-15 minutes and stops responding to health checks from > haproxy. Local test with lynx http://localhost:8000 shows it hangs > indeed, no response. We don't use nginx in front of uwsgi, probably > should. > > Questions: > how to get debug output? > what it can be, why it hangs? > > Thanks > --Roman > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi >
You need to give us much more details (like the kind of health check done by haproxy and uwsgi logs). By the way you do not need "http =" as you are adding another level of proxying. Just use --http-socket to instruct uwsgi to natively speak http. Enable monitor tools (like the stat server + uwsgitop or the tracebacker) to understand if uWSGI/yourapp hangs or haproxy has simply stopped sending requests to it -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
