Add an init script for supervisor and have it control UWSGI
$10-25 USD
Cerrado
Publicado hace alrededor de 10 años
$10-25 USD
Pagado a la entrega
Hi,
I have installed supervisor with pip but I have some problems, when I try and restart my uwsgi application I get the following error:
2014-03-16 08:38:34,249 DEBG 'app' stderr output:
thunder lock: disabled (you can enable it with --thunder-lock)
2014-03-16 08:38:34,249 DEBG 'app' stderr output:
probably another instance of uWSGI is running on the same address ([login to view URL]).
2014-03-16 08:38:34,249 DEBG 'app' stderr output:
bind(): Address already in use [core/socket.c line 759]
2014-03-16 08:38:34,250 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 33121488 for <Subprocess at 32641104 with name app
in state STARTING> (stdout)>
2014-03-16 08:38:34,250 DEBG fd 15 closed, stopped monitoring <POutputDispatcher at 33122208 for <Subprocess at 32641104 with name app
in state STARTING> (stderr)>
2014-03-16 08:38:34,250 INFO exited: app (exit status 1; not expected)
2014-03-16 08:38:34,250 DEBG received SIGCLD indicating a child quit
2014-03-16 08:38:35,251 INFO gave up: app entered FATAL state, too many start retries too quickly
I want someone to fix this and add an init.d script for supervisor so it can autostart when my server boots.