Closed zdzh closed 2 years ago
The Go runner is managed by the privileged agent. If the agent is killed, there is no simple way to know if the Go runner is still alive. There is complex way to do it, but as the crash of privileged agent is rare so I don't think it is worth to do it.
We can leave this issue open and see if it is worth handling it.
thanks
This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.
This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.
Issue description
我希望在apisix服务中达成的一个效果是kill掉任何一个子进程时apisix服务都能重新拉起一个子进程。 实际测试发现kill掉privileged agent process后,apisix服务确实重新拉起了新的privileged agent process,但却出现了两个apisix-go-runner,而kill掉其他子进程均能正常拉起,,这点是故意为之还是有方法可以保证privileged agent process被拉起后只存在一个go-runner进程。
Environment
apisix version
): 2.10.0uname -a
):nginx -V
oropenresty -V
): openresty/1.19.3.1curl http://127.0.0.1:9090/v1/server_info
to get the info from server-info API):luarocks --version
):