cpu爆满,busy

奔跑的蜗牛

打印了 status图如下
截图
同时追踪到strace -ttp 1228886 图如下
截图
lsof -nPp 1228886
截图
截图
请问这是原因,看不懂

962 1 0
1个回答

walkor 打赏

status 上半部分截图看不到
执行 php --ri event 截图

  • 奔跑的蜗牛 2022-06-15

    [root@VM-16-14-centos im.hudieqingsu.com]# php --ri event

    event

    Event support => enabled
    Sockets support => enabled
    Debug support => disabled
    Extra functionality support including HTTP, DNS, and RPC => enabled
    OpenSSL support => enabled
    Thread safety support => disabled
    Extension version => 3.0.6
    libevent2 headers version => 2.1.8-stable

  • 奔跑的蜗牛 2022-06-15

    Workerman version:3.5.4 PHP version:7.3.31
    start time:2022-06-15 15:00:05 run 0 days 2 hours
    load average: 5.75, 6, 6 event-loop:\Workerman\Events\Event
    5 workers 11 processes
    worker_name exit_status exit_count
    FileMonitor 0 0
    Register 0 0
    ChatBusinessWorker 0 0
    ChatGateway 0 0
    internalGateway 0 0
    ----------------------------------------------PROCESS STATUS---------------------------------------------------
    pid memory listening worker_name connections send_fail timers total_request qps status
    1228879 4M none FileMonitor 0 0 0 0 0 [idle]
    1228881 4M text://0.0.0.0:1236 Register 9 0 0 9 0 [idle]
    1228882 4M none ChatBusinessWorker 6 0 0 14 0 [idle]
    1228883 4M none ChatBusinessWorker 6 0 0 8 0 [idle]
    1228884 4M none ChatBusinessWorker 6 0 0 7 0 [idle]
    1228885 4M none ChatBusinessWorker 6 0 0 5 0 [idle]
    1228886 N/A websocket://0.0.0.0:7272 ChatGateway N/A N/A N/A N/A N/A [busy]
    1228887 N/A websocket://0.0.0.0:7272 ChatGateway N/A N/A N/A N/A N/A [busy]
    1228888 N/A websocket://0.0.0.0:7272 ChatGateway N/A N/A N/A N/A N/A [busy]
    1228889 N/A websocket://0.0.0.0:7272 ChatGateway N/A N/A N/A N/A N/A [busy]
    1228890 4M text://172.21.16.14:7273 internalGateway 5 0 0 6 0 [idle]

  • walkor 2022-06-15

    版本太老了,升级下workerman试下

  • 奔跑的蜗牛 2022-06-15

    升级到4.0.37了,先观察几天看看

年代过于久远,无法发表回答
×
🔝