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

[TC-251] Fixed an issue where Traffic Ops was not correctly refreshing DNSSEC keys #517

Closed
wants to merge 2 commits into from

Conversation

dneuman64
Copy link
Contributor

I had to fix fork_and_daemonize() so that it would do what we needed. We want that method to fork off a child and return while the child does its thing in the backgroup (without waiting for the child). This functionality was changed in 2.0 because the previous implementation was causing issues with processes that use waitpid(), see TC-158. The new method is similar to the pre 2.0 method except it does not set a the SIGCHILD handler to IGNORE and it cleans up completed child processes each time it is called. This hopefully satisfies the requirements of running asynchronously while also not leaving zombie processes and using up all of the traffic_ops workers.

… updated it so it actually runs the forked process in the background instead of blocking
@dneuman64
Copy link
Contributor Author

Closing this as a better solution is provided in #521

@dneuman64 dneuman64 closed this Apr 26, 2017
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.

None yet

1 participant