-
-
Notifications
You must be signed in to change notification settings - Fork 297
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
EventBase::loop(): Failed to invoke event callback, breaking the loop. #111
Comments
10.2.164.000 ip错的
Message ID: ***@***.***>
|
这是我为提交issue 隐藏机器IP 手动改掉的, 原本IP是对的 已核对过 |
分布式部署么?
10.2.164.000 这个ip的服务可能有问题,可能是报错了,gatewayWorker进程退出了。还有从你贴的status看服务器负载太高了
|
frame not masked so close the connection
frame not masked so close the connection
frame not masked so close the connection
frame not masked so close the connection
frame not masked so close the connection
frame not masked so close the connection
frame not masked so close the connection
frame not masked so close the connection Workerman[/home/htdocs/im/src/Command/ServerCommand.php] status
----------------------------------------------GLOBAL STATUS----------------------------------------------------
Workerman version:4.1.11 PHP version:8.1.16
start time:2023-09-13 11:09:50 run 0 days 10 hours
load average: 22.3, 20.97, 20.85 event-loop:\Workerman\Events\Event
1 workers 4 processes
worker_name exit_status exit_count
Gateway 0 0
----------------------------------------------PROCESS STATUS---------------------------------------------------
pid memory listening worker_name connections send_fail timers total_request qps status
9 7.85M websocket://0.0.0.0:1216 Gateway 1154 4 3 25770080 0 [idle]
10 9.19M websocket://0.0.0.0:1216 Gateway 1377 9 3 27351740 0 [idle]
11 8.04M websocket://0.0.0.0:1216 Gateway 1190 5 3 25933475 0 [idle]
12 8.83M websocket://0.0.0.0:1216 Gateway 1321 7 3 26545133 0 [idle]
----------------------------------------------PROCESS STATUS---------------------------------------------------
Summary 32M - - 5042 25 12 105600428 0 [Summary] |
load average: 15.7, 17.4, 17.13 |
好的,我先尝试扩容降低负载再观察是否还有loop的问题 谢谢大佬 |
你们是压测么? 如果你们有非常频繁的Gateway接口调用,gateway服务器建议只开两台服务器,每台只开2个进程,可以降低整个集群负载。 |
不是压测,是正式环境的请求量 |
现在怎么样了。
masked 这个应该是客户端发送到Gateway网关的websocket 二进制帧不合法,Gateway 认定为非法连接给关闭了。 |
businessWorker运行一段时间之后产生以下报错信息,使用K8S部署,启动3个pod,只有1个pod出现这问题,不会同时出现;
查询status 有一个进程是N/A busy状态
请问作者大佬,此问题应该如何排查定位问题
The text was updated successfully, but these errors were encountered: