-
Notifications
You must be signed in to change notification settings - Fork 786
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
SwoftEvent::COROUTINE_COMPLETE 事件有bug #1146
Comments
@aslackers 我们检查验证下 |
项目启动后,将runtime目录下的logs目录删除,发送一个HTTP请求。这种方式必然会出现这个问题。 |
好的 |
我也遇到同样的问题了,我这边不能肯定是否是因为删除Log文件引起的。程序启动后,我有个健康检测1秒钟一次。运行个一天左右,就不返回数据了,只有500错误码,日志也没有,我看notice日志还在打,自定义的记录SQL的日志也正常打印着。。仔细观察发现有一个worker进程的ID一直在变,说明一直在重新创建进程。strace了一个manager进程返回如下: wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 23484 |
补充: |
swoole文档上写着
目前已发现的事件
SwoftEvent::COROUTINE_COMPLETE
,未做错误异常捕获,会导致进程不断的被杀死、创建,进入死循环,导致CPU飙升The text was updated successfully, but these errors were encountered: