> Hi, Roberto > Thank you for your response. I have try using http-socket and > uwsgi-socket. But it doesn't help. There is still many connection > reset error. > > Here is my config now: > uwsgi: > master: 1 > procname-prefix: mkey > processes: 64 > uid: mkey > gid: mkey > chdir: /home/projects/mkey/src > python-path: /home/projects/mkey/src > wsgi: wsgi_handler > need-app: 1 > pidfile: /home/projects/mkey/var/run/ > mkey.pid > daemonize: /home/projects/mkey/var/logs/uwsgi.log > disable-logging: true > http-socket: 0.0.0.0:4004 > stats: 127.0.0.1:4000 > max-fd: 65535 > idle: 30 > reload-on-rss: 256 > touch-logreopen: /home/projects/mkey/var/run/touch-logreopen > touch-logrotate: /home/projects/mkey/var/run/touch-logrotate > log-reopen: true > log-slow: 1000 > buffer-size: 32768 > reload-mercy: 60 >
Paste your uwsgi logs during reloads. Very probably your instance is dying (closing sockets) and respawning, instead of simply patching itself -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
