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进程不成功 #196

Closed
zhangys529 opened this issue Jul 9, 2021 · 1 comment
Closed

kill进程不成功 #196

zhangys529 opened this issue Jul 9, 2021 · 1 comment

Comments

@zhangys529
Copy link

大佬你好,有时候kill停止进程的时候会出现停止不掉的情况,日志中会报Force-closing a channel whose registration task was not accepted by an event loop: [id: 0x1e9c72ff]警告,紧接着会报Failed to submit a listener notification task. Event loop shut down?错误,是不是我代码方面哪里没有写对呢,我目前是实现了ServerEndpointExporter的bean注解,ServerEndpoint注解类中实现了OnOpen、OnClose、OnMessage,并且使用了Autowired注入一些service,能否帮忙分析一下,谢谢哈!

@YeautyYE
Copy link
Owner

正常情况,kill的时候会优雅关闭连接。
可以换成kill -9强制关闭

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