php-resque
php-resque copied to clipboard
php-resque and supervisord
Hi, I use php-resque
with supervisord
to keep the process alive.
When i restart supervisord
I see in the web ui (resque-web) that I have 16 active workers in each host, but for some reason if the process is dead supervisord
will start another process instead of the dead one but this worker wont be visible in the web ui.
any one has an idea why?
Thanks
by the way, if then I restart the supervisord
service the workers will be visible once again
Just saw this and thought of you, from the supervisor docs:
[program:x]
stopasgroup
If true, the flag causes supervisor to send the stop signal to the whole process group and implies killasgroup is true. This is useful for programs, such as Flask in debug mode, that do not propagate stop signals to their children, leaving them orphaned.
Default: false
Required: No.
Introduced: 3.0b1