-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
WARNING ReactorEpoll::del() (ERRNO 800) #5694
Comments
应该是心跳和线程重启冲突了。 |
@NathanFreeman |
当进程没有事件句柄在监听时,进程结束时将不会回调WorkerExit函数 |
@NathanFreeman 谢谢,之前理解的浅了,以为只要加上 |
心跳线程和工作线程冲突了,我看看是不是需要加个锁 |
使用 Valgrind 追踪一下程序的运行,将输出的错误信息粘贴到这里: USE_ZEND_ALLOC=0 valgrind php server.php 重现后,找到日志中的 |
@matyhtf |
应该是这个心跳线程和工作线程冲突了的问题 |
现象:
V6.0.1中,配置max_request和心跳检测,启动服务后通过浏览器控制台发起大量请求,约在2000上下,持续时间40-70s时,进程终止并输出
zend_mm_heap corrupted
,同时log文件中出现如题告警:[2025-02-22 17:00:00 *3543124.1] WARNING ReactorEpoll::del() (ERRNO 800): failed to delete events[fd=27, fd_type=0], it has already been removed
,行数不固定,目前观测到出现过2和3行。此外,WorkerExit回调始终没有执行
php --ri swoole:
uname -a && php -v && gcc -v:
复现代码:
PHP代码
JS发起请求代码
The text was updated successfully, but these errors were encountered: