call for help. I almost managed to get a simple uwsgi emperor config 
running on upstart (will post that script soon) on ubuntu. Hopefully it 
should alleviate the problems and the intricacies of 
managing/installing/upgrading the overcomplicated standard debian 
distribution. Works on 12.04 and on 12.10, with a single issue....... 

I have the usual nginx+uwsgi combo, all works ok if I start uwsgi in 
emperor mode with upstart, but fails on restarting the uwsgi daemon.... the 
socket gets reaped after restart and no process is respawned to handle the 
web2py process....
Basically: 
>>>start uwsgi-emperor
#all fine
>>>stop uwsgi-emperor
#bad gateway, correct, reporting errors in nginx log trying to access a 
non-existing socket file
>>>root@w2p-tests:/tmp# start uwsgi-emperor
uwsgi-emperor start/running, process 2279
>>>root@w2p-tests:/tmp# restart uwsgi-emperor
uwsgi-emperor start/running, process 2304
#bad gateway, correct, reporting errors in nginx log trying to access a 
non-existing socket file... doh!

configurations and logs available at 
https://dl.dropbox.com/s/qhapgzee667zx3m/uwsgi.tar.gz
Anyone having this problem ?

-- 



Reply via email to