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

fix(nginx) wait for nginx reload to avoid zombies #356

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

felixbuenemann
Copy link
Contributor

If a unix process is spawned, the parent process must wait for its pid or the process will become a zombie after exit. This fixes the problem that the /opt/router/sbin/router binary leaves behing a defunct nginx process each time the config is reloaded by spawning "nginx -s reload".

Fixes #331.

If a unix process is spawned, the parent process must wait for its pid
or the process will become a zombie after exit. This fixes the problem
that the "/opt/router/sbin/router" binary leaves behing a defunct nginx
process each time the config is reloaded by spawning "nginx -s reload".
@deis-admin
Copy link

Thanks for the contribution! Please ensure your commits follow our style guide. This code will be tested once a Deis maintainer reviews it.

@krancour
Copy link
Contributor

@felixbuenemann to the best of my knowledge, no one is actively maintaining the old components of Deis Workflow anymore.

@Cryptophobia
Copy link

Cryptophobia commented Jan 26, 2018

Hi @felixbuenemann and @krancour . I am from the Fork of Deis Workflow team - Hephy. https://github.com/teamhephy/

This is a good PR and we actually encountered a problem with this yesterday. Please can you make this PR against hephy-router repository and we can merge it in and get it into the first release.

Here is repository for the hephy-router: https://github.com/teamhephy/router

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

Successfully merging this pull request may close these issues.

Router makes zombies permanently
4 participants