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

🤔 kill prefork master #501

Closed
kiyonlin opened this issue Jun 22, 2020 · 2 comments · Fixed by #507
Closed

🤔 kill prefork master #501

kiyonlin opened this issue Jun 22, 2020 · 2 comments · Fixed by #507

Comments

@kiyonlin
Copy link
Contributor

Question description
When using prefork mode, and i kill master process manually, but all the children processes are alive.

And when I killed nginx master process, all the processes were terminated.

So is it possible for Fiber to manage all processes?

@ReneWerner87
Copy link
Member

@Fenny i think we need this logic https://github.com/valyala/fasthttp/blob/master/prefork/prefork.go#L186

@Fenny
Copy link
Member

Fenny commented Jun 22, 2020

Working on it, next tag will also support Prefork on windows using REUSEADDR instead of REUSEPORT

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

Successfully merging a pull request may close this issue.

3 participants