php-resque icon indicating copy to clipboard operation
php-resque copied to clipboard

php-resque and supervisord

Open shotap opened this issue 7 years ago • 1 comments

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

shotap avatar May 09 '17 19:05 shotap

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

veloper avatar Jun 06 '17 20:06 veloper