Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

php-resque and supervisord #347

Open
shotap opened this issue May 9, 2017 · 1 comment
Open

php-resque and supervisord #347

shotap opened this issue May 9, 2017 · 1 comment

Comments

@shotap
Copy link

shotap commented May 9, 2017

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

@veloper
Copy link

veloper commented Jun 6, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants