On 03.05.2011 18:50, Roberto De Ioris wrote: > > Il giorno 02/mag/2011, alle ore 13.58, Leonid Borisenko ha scritto: > >> >> % cat /tmp/uwsgi.log >> *** Starting uWSGI 0.9.7.2 (32bit) on [Mon May 2 14:48:29 2011] *** >> *** >> *** You are running a DEBUG version of uWSGI, please disable debug in >> your build profile and recompile it *** >> *** >> compiled with version: 4.6.1 20110428 (prerelease) on 02 May 2011 14:38:31 >> writing pidfile to /tmp/uwsgi.pid >> *** WARNING: you are running uWSGI without its master process manager *** >> your memory page size is 4096 bytes >> spawned uWSGI http 1 (pid: 20556) >> HTTP router/proxy bound on 127.0.0.1:8080 >> uwsgi socket 0 bound to UNIX address /tmp/uwsgi.sock fd 5 >> vec size: 56 pkt size: 377 load 1 >> connect(): No such file or directory [socket.c line 268] >> uwsgi backend: 1304336909_20556.sock >> _______________________________________________ >> uWSGI mailing list >> [email protected] >> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi > > > Can you check if after startup there is a uwsgi defunct process ? > > It looks like the worker die after initialization for some reason
Shortly, you are right. After startup two uWSGI processes are appearing in ps output, one of which is defunct. There is full story (sorry, if it contains unneeded details, I just want to provide every bit of useful information): % LANG=C ls -l /tmp/uwsgi.* zsh: no matches found: /tmp/uwsgi.* % ps aux|grep uwsgi-python2.7|grep -v grep % ./uwsgi-python2.7 -s /tmp/uwsgi.sock --pp /tmp/py -w test --plugins http --http 127.0.0.1:8080 --vacuum --pidfile /tmp/uwsgi.pid --daemonize /tmp/uwsgi.log unlink(): No such file or directory [uwsgi.c line 425] % LANG=C ls -l /tmp/uwsgi.* -rw-r----- 1 leo leo 423 May 3 21:55 /tmp/uwsgi.log -rw-rw-rw- 1 leo leo 6 May 3 21:55 /tmp/uwsgi.pid srwxrwxrwx 1 leo leo 0 May 3 21:55 /tmp/uwsgi.sock % cat /tmp/uwsgi.log *** Starting uWSGI 0.9.7.2 (32bit) on [Tue May 3 21:55:35 2011] *** compiled with version: 4.6.1 20110428 (prerelease) on 03 May 2011 04:38:08 writing pidfile to /tmp/uwsgi.pid *** WARNING: you are running uWSGI without its master process manager *** your memory page size is 4096 bytes spawned uWSGI http 1 (pid: 28462) HTTP router/proxy bound on 127.0.0.1:8080 uwsgi socket 0 bound to UNIX address /tmp/uwsgi.sock fd 5 % cat /tmp/uwsgi.pid 28462 % ps aux|grep uwsgi-python2.7|grep -v grep leo 28462 0.0 0.0 9904 1036 ? S 21:55 0:00 ./uwsgi-python2.7 -s /tmp/uwsgi.sock --pp /tmp/py -w test --plugins http --http 127.0.0.1:8080 --vacuum --pidfile /tmp/uwsgi.pid --daemonize /tmp/uwsgi.log leo 28465 0.0 0.0 0 0 ? Z 21:55 0:00 [uwsgi-python2.7] <defunct> % kill -QUIT `cat /tmp/uwsgi.pid` % ps aux|grep uwsgi-python2.7|grep -v grep % LANG=C ls -l /tmp/uwsgi.* -rw-r----- 1 leo leo 423 May 3 21:55 /tmp/uwsgi.log -rw-rw-rw- 1 leo leo 6 May 3 21:55 /tmp/uwsgi.pid srwxrwxrwx 1 leo leo 0 May 3 21:55 /tmp/uwsgi.sock % cat /tmp/uwsgi.log *** Starting uWSGI 0.9.7.2 (32bit) on [Tue May 3 21:55:35 2011] *** compiled with version: 4.6.1 20110428 (prerelease) on 03 May 2011 04:38:08 writing pidfile to /tmp/uwsgi.pid *** WARNING: you are running uWSGI without its master process manager *** your memory page size is 4096 bytes spawned uWSGI http 1 (pid: 28462) HTTP router/proxy bound on 127.0.0.1:8080 uwsgi socket 0 bound to UNIX address /tmp/uwsgi.sock fd 5 _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
