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

同時在線1000部設(shè)備Gateway報錯

程序gg了

錯誤1:
Warning: system call select exceeded the maximum number of connections 1024, please install event/libevent extension for more connections.

錯誤2:
Notice: fwrite(): send of 169 bytes failed with errno=11 Resource temporarily unavailable in /www/wwwroot/ws.lzkdkeji.com/GatewayWorker/vendor/workerman/workerman/Connection/TcpConnection.php on line 372

打印status:

4368 1 0
1個回答

phpcreeper

select最多支持1024個連接,warning提示也很清晰, 超過1024必須裝event擴展,另外按照手冊優(yōu)化linux內(nèi)核參數(shù)。
http://doc.workerman.net/appendices/kernel-optimization.html

  • 程序gg了 2020-04-26

    實際上沒有1024個設(shè)備鏈接啊。最多700個設(shè)備同時在線

  • phpcreeper 2020-04-26

    程序它不會說謊呀,你統(tǒng)計的有問題,裝event擴展就對了,老生常談的問題了。

  • 程序gg了 2020-04-27

    @614:分布式GatewayWorker是不是就不用裝event擴展了?

  • phpcreeper 2020-04-27

    @5671: 嗯,如果分布式你做好負(fù)載均衡也可以不用裝,其實你只要理解這個1024是單機并且使用了select多路復(fù)用時服務(wù)器能處理的最大socket連接數(shù)就知道怎么干了;

  • 程序gg了 2020-04-27

    @614:感謝回復(fù)

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