BusinessWorker经常busy,用strace -ttp查的结果如下,求解

1666945795
# strace -ttp 27385
strace: Process 27385 attached
08:45:20.186340 restart_syscall(<... resuming interrupted poll ...>) = 0
08:45:20.298023 poll(, 1, 0) = 0 (Timeout)
08:45:20.298309 poll(, 1, 1000) = 0 (Timeout)
08:45:21.299279 poll(, 1, 0) = 0 (Timeout)
08:45:21.299459 poll(, 1, 1000) = 0 (Timeout)
08:45:22.300407 poll(, 1, 0) = 0 (Timeout)
08:45:22.300530 poll(, 1, 1000) = 0 (Timeout)
08:45:23.301768 poll(, 1, 0) = 0 (Timeout)
08:45:23.301955 poll(, 1, 1000) = 0 (Timeout)
08:45:24.302354 poll(, 1, 0) = 0 (Timeout)
08:45:24.302541 poll(, 1, 1000) = 0 (Timeout)
08:45:25.303713 poll(, 1, 0) = 0 (Timeout)
08:45:25.303909 poll(, 1, 1000) = 0 (Timeout)
08:45:26.304305 poll(, 1, 0) = 0 (Timeout)
08:45:26.304408 poll(, 1, 1000) = 0 (Timeout)
08:45:27.305580 poll(, 1, 0) = 0 (Timeout)
08:45:27.305764 poll(, 1, 1000) = 0 (Timeout)
08:45:28.306359 poll(, 1, 0) = 0 (Timeout)
08:45:28.306529 poll(, 1, 1000) = 0 (Timeout)
08:45:29.307723 poll(, 1, 0) = 0 (Timeout)

下面该怎么做呢?

3551 3 0
3个回答

1666945795

http://doc.workerman.net/debug/busy-process.html 找到了讲解 我自己先看看

  • 暂无评论
1666945795

hp 27378 root 17u IPv4 458823659 0t0 TCP iz2zeb286mrhxjh9hqiq4iz:57676->211.149.192.78:http (SYN_SENT)
发现是这条有问题,但是很奇怪211.149.192.78这个ip好像和我无关

  • 暂无评论
1666945795

找到问题了,211.149.192.78是客户业务层服务器,设备状态变化时我post到客户业务层服务器,但是这个客户这台服务器居然关了,但是设备还连着有设备状态变化,我通知的时候curl挂起了,导致busy

  • 暂无评论
年代过于久远,无法发表回答
×
🔝