国产+高潮+在线,国产 av 仑乱内谢,www国产亚洲精品久久,51国产偷自视频区视频,成人午夜精品网站在线观看

wss 壓力測(cè)試問題

mayibanjia

您好,請(qǐng)問我使用 http://wtbis.cn/q/1453 管理員評(píng)論的那個(gè)方法
這個(gè)方式 鏈接線上服務(wù)器wss地址(通過nginx轉(zhuǎn)發(fā))鏈接數(shù)2000
一開始鏈接非常快 每次 到達(dá) 1023個(gè)鏈接的時(shí)候 就開始鏈接就出現(xiàn)鏈接緩慢問題 一次2個(gè)鏈接再增加 后面直接 新增兩個(gè) 斷開兩個(gè)
文檔的linux內(nèi)核優(yōu)化已經(jīng)做了 高并發(fā)event安裝了

1022 connections complete
1023 connections complete
1024 connections complete
1025 connections complete
1026 connections complete
1027 connections complete
1028 connections complete
1029 connections complete
1030 connections complete
1031 connections complete
con1021 close
con1022 close
1032 connections complete
1033 connections complete

就鏈接不上了 是什么問題呢
status 顯示如下

----------------------------------------------GLOBAL STATUS----------------------------------------------------
Workerman version:4.0.33          PHP version:7.4.29
start time:2022-05-27 08:40:06   run 0 days 0 hours   
load average: 1.92, 0.78, 0.32   event-loop:\Workerman\Events\Event
3 workers       17 processes
worker_name           exit_status      exit_count
YourAppBusinessWorker 0                0
YourAppGateway        0                0
Register              0                0
----------------------------------------------PROCESS STATUS---------------------------------------------------
pid     memory  listening                  worker_name           connections send_fail timers  total_request qps    status
1553    2M      none                       YourAppBusinessWorker 9           0         0       183           0      [idle]
1554    2M      none                       YourAppBusinessWorker 9           0         0       177           0      [idle]
1555    2M      none                       YourAppBusinessWorker 9           0         0       177           0      [idle]
1556    2M      none                       YourAppBusinessWorker 9           0         0       231           0      [idle]
1557    2M      none                       YourAppBusinessWorker 9           0         0       183           0      [idle]
1558    2M      none                       YourAppBusinessWorker 9           0         0       231           0      [idle]
1559    2M      none                       YourAppBusinessWorker 9           0         0       192           0      [idle]
1560    2M      none                       YourAppBusinessWorker 9           0         0       219           0      [idle]
1561    2M      websocket://127.0.0.1:8686 YourAppGateway        10          0         1       15652         364    [idle]
1562    2M      websocket://127.0.0.1:8686 YourAppGateway        9           0         1       15650         364    [idle]
1563    2M      websocket://127.0.0.1:8686 YourAppGateway        10          0         1       15652         364    [idle]
1564    2M      websocket://127.0.0.1:8686 YourAppGateway        12          0         1       15656         364    [idle]
1565    2M      websocket://127.0.0.1:8686 YourAppGateway        15          0         1       15662         364    [idle]
1566    2M      websocket://127.0.0.1:8686 YourAppGateway        27          0         1       15686         364    [idle]
1567    4M      websocket://127.0.0.1:8686 YourAppGateway        87          0         1       15804         364    [idle]
1568    4M      websocket://127.0.0.1:8686 YourAppGateway        411         0         1       16452         364    [idle]
1569    2M      text://127.0.0.1:1238      Register              16          0         0       306           10     [idle]
----------------------------------------------PROCESS STATUS---------------------------------------------------
Summary 38M     -                          -                     669         0         8       128113        2922   [Summary] 
2236 1 0
1個(gè)回答

walkor 打賞

壓力腳本所在服務(wù)器也要安裝event擴(kuò)展,優(yōu)化linux內(nèi)核

  • mayibanjia 2022-05-27

    有安裝了

  • mayibanjia 2022-05-27

    [root@izj6c58ed7tzwnsn8t36buz test]# php -m
    [PHP Modules]
    bcmath
    bz2
    calendar
    Core
    ctype
    curl
    date
    dom
    event

  • walkor 2022-05-27

    那可能是沒優(yōu)化linux內(nèi)核,先直接連GatewayWorker試下,不要連nginx,沒問題后再連nginx測(cè)試,排除nginx問題。

  • mayibanjia 2022-05-27

    好的 謝謝

年代過于久遠(yuǎn),無法發(fā)表回答
??