各位老师大家好:
测试Websocket并发,使用公网网络,使用ws协议链接畅通无阻,链接1万2万不成问题。
https://www.workerman.net/doc/gateway-worker/secure-websocket-server.html#%E5%88%9B%E5%BB%BAwss%E6%9C%8D%E5%8A%A1
创建wss服务之后,使用wss测试链接 死活上不去7000,即将到达7000的时候进程就退出 重新链接了
linux内核优化了 打开数限制也设置了,这是为啥?
补充:两台服务器都是用阿里云按流量付费,带宽峰值100M 配置 8 vCPU 16 GiB;ws可以上去wss可以上去 应该也不是带宽问题吧
15:02:22.605996 fcntl(6819, F_SETFL, O_RDWR|O_NONBLOCK) = 0
15:02:22.606032 read(6819, "\26\3\3\0B\2\0", 7) = 7
15:02:22.606072 read(6819, "\0>\3\3s\221\203\255N\205\370\222\202\22\317@U\3770\213\314zd\213O\213\215 \241\4X\215"..., 64) = 64
15:02:22.606111 read(6819, "\26\3\3\v\215", 5) = 5
15:02:22.606147 read(6819, "\v\0\v\211\0\v\206\0\6u0\202\6q0\202\4\331\240\3\2\1\2\2\0209G\254y\205If"..., 2957) = 2957
15:02:22.606416 read(6819, "\26\3\3\1M", 5) = 5
15:02:22.606450 read(6819, "\f\0\1I\3\0\27A\4\247\200\376 \327\224\342\237ur_\230\275\5\205\373^w}\0B\267p"..., 333) = 333
15:02:22.606552 read(6819, "\26\3\3\0\4", 5) = 5
15:02:22.606588 read(6819, "\16\0\0\0", 4) = 4
15:02:22.606875 write(6819, "\26\3\3\0F\20\0\0BA\4\361\314\6\241X\23\304\326Y@Yj\300]\345\336\325\10\267\364\20"..., 126) = 126
15:02:22.606913 read(6819, 0x7f31d3a8fad3, 5) = -1 EAGAIN (Resource temporarily unavailable)
15:02:22.606955 epoll_ctl(5, EPOLL_CTL_DEL, 6820, {EPOLLOUT, {u32=6820, u64=6820}}) = 0
15:02:22.606994 getpeername(6820, {sa_family=AF_INET, sin_port=htons(443), sin_addr=inet_addr("47.243.108.249")}, [16]) = 0
15:02:22.607033 fcntl(6820, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
15:02:22.607073 fcntl(6820, F_SETFL, O_RDWR|O_NONBLOCK) = 0
15:02:22.607111 poll([{fd=6820, events=POLLIN|POLLPRI|POLLERR|POLLHUP}], 1, 0) = 0 (Timeout)
15:02:22.607192 open("/etc/pki/tls/cert.pem", O_RDONLY) = 6821
15:02:22.607235 fstat(6821, {st_mode=S_IFREG|0444, st_size=271040, ...}) = 0
15:02:22.607271 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3008773000
15:02:22.607308 read(6821, "# Entrust.net Secure Server CA\n-"..., 4096) = 4096
15:02:22.607441 read(6821, "xMdRXF1aWZheCBT\nZWN1cmUgZUJ1c2lu"..., 4096) = 4096
15:02:22.607563 read(6821, "DVQQLExFUYW51c2l0dmFueWtpYWRvazE"..., 4096) = 4096
15:02:22.607693 read(6821, "ZW1pdW0gU2VydmVyIENBMSgwJgYJKoZI"..., 4096) = 4096
15:02:22.607820 read(6821, "9UNV+mWwD5MlM/Mtsq2azSiGM5bUMMj4"..., 4096) = 4096
15:02:22.607946 read(6821, "OsOxFwYIRKQ26ZIMApcQrAZQIDAQABo4"..., 4096) = 4096
15:02:22.608043 read(6821, "A1UECwwQQUMgUkFJWiBG\nTk1ULVJDTTC"..., 4096) = 4096
15:02:22.608131 read(6821, "CU0Ux\nFDASBgNVBAoTC0FkZFRydXN0IE"..., 4096) = 4096
15:02:22.608221 read(6821, "ozH7ZxOmuASu7VqTITh\n4SINhwBk/ox9"..., 4096) = 4096
15:02:22.608334 read(6821, "Zpg4Jg8klCNO1aAFSFHBY2kgxc+qatv9"..., 4096) = 4096
15:02:22.608449 read(6821, "UzEPMA0GA1UEChMGQW1hem9uMRkwFwYD"..., 4096) = 4096
15:02:22.608548 read(6821, "SIb3\nDQEBCwUAA4IBAQAmdzTblEiGKkG"..., 4096) = 4096
15:02:22.608630 brk(0) = 0x7f31d3acd000
15:02:22.608664 brk(0x7f31d3aee000) = 0x7f31d3aee000
15:02:22.608729 read(6821, "Q2xhc3MgMiBSb290IENBMB4XDTEwMTAy"..., 4096) = 4096
15:02:22.608815 read(6821, "A4ICDwAwggIKAoICAQCqw3j33Jijp1pe"..., 4096) = 4096
15:02:22.608903 read(6821, "4syhf3RMluARZPzA7gwCgYIKoZIzj0EA"..., 4096) = 4096
15:02:22.609002 read(6821, "01CxwRM/aN5VCaTwwxHGzUvAhTaHYujl"..., 4096) = 4096
15:02:22.609120 read(6821, "MCUGA1UEChMeQUMgQ2FtZXJmaXJtYSBT"..., 4096) = 4096
15:02:22.609215 read(6821, "uG12t12s9R23164i5jIFFTMaxeSt+BKv"..., 4096) = 4096
15:02:22.609319 read(6821, "1pczEXMBUGA1UECxMOMDAwMiA0MzM5OT"..., 4096) = 4096
15:02:22.609405 read(6821, "z5yCT\nmehd4F6H50boJZwKKSTUzViGUk"..., 4096) = 4096
15:02:22.609509 read(6821, "7eDDd5QVsisrCaQVymcODU0HfL\nI9MA4"..., 4096) = 4096
15:02:22.609583 brk(0) = 0x7f31d3aee000
15:02:22.609616 brk(0x7f31d3b0f000) = 0x7f31d3b0f000
15:02:22.609673 read(6821, "oTEkFDIENhbWVy\nZmlybWEgUy5BLjEpM"..., 4096) = 4096
15:02:22.609793 read(6821, "0BAQUFADB+MQswCQYDVQQGEwJHQjEb\nM"..., 4096) = 4096
15:02:22.609884 read(6821, "i5MXzLqXZI+O4Tkogp24CJJ8iYGd7ix1"..., 4096) = 4096
15:02:22.609983 read(6821, "nf9nKxcCpk4a\nahELfrd755jWjHZvwTv"..., 4096) = 4096
15:02:22.610083 read(6821, "JaoroTghHtORedmTpyoeb6pNnVFzF1ro"..., 4096) = 4096
15:02:22.610190 read(6821, "SteDwsOoBrp+uvFRTp2InBuThs4pFsiv"..., 4096) = 4096
15:02:22.610321 read(6821, "lnaWNlcnQu\nY29tMSEwHwYDVQQDExhEa"..., 4096) = 4096
15:02:22.610418 read(6821, "maWNhY2lvIChOSUYgUS0wODAxMTc2LUk"..., 4096) = 4096
15:02:22.610498 brk(0) = 0x7f31d3b0f000
15:02:22.610533 brk(0x7f31d3b30000) = 0x7f31d3b30000
15:02:22.610600 read(6821, "i6Zgzj/L24ScF2iUkZ/cCovYmjZy/Gn7"..., 4096) = 4096
15:02:22.610724 read(6821, "IgYXV0\naG9yaXplZCB1c2Ugb25seTEyM"..., 4096) = 4096
15:02:22.610830 read(6821, "7e64HXprQU9nceJSOC7KMgD4TCTZF5Sw"..., 4096) = 4096
15:02:22.610942 read(6821, "rgtWv3GLIylBjobFS1J72HGrH4oVpjuD"..., 4096) = 4096
15:02:22.611048 read(6821, "CIGA1UECxMbR2xvYmFsU2lnbiBFQ0MgU"..., 4096) = 4096
15:02:22.611148 read(6821, "AUKr+yAzv95ZU\nRUm7lgAJQayzE4aGKA"..., 4096) = 4096
15:02:22.611239 read(6821, "EsahB4yOd6AzBhRckB4Y9wimPQoZ+YeA"..., 4096) = 4096
15:02:22.611352 read(6821, "iVtXdMiKahsog2p\n6z0GW5k6x8zDmjR/"..., 4096) = 4096
15:02:22.611434 brk(0) = 0x7f31d3b30000
15:02:22.611467 brk(0x7f31d3b51000) = 0x7f31d3b51000
15:02:22.611537 read(6821, "UkcgUm9vdCBY\nMTCCAiIwDQYJKoZIhvc"..., 4096) = 4096
15:02:22.611620 read(6821, "ALBKK0CyrOE7S8ItneShm+waOh7wCLPQ"..., 4096) = 4096
15:02:22.611702 read(6821, "k5A0MiWtj3sXh306pFGxT4GHO9hcvHTy"..., 4096) = 4096
15:02:22.611801 read(6821, "AQH/AgEEMA4GA1UdDwEB/wQEAwIBBjAd"..., 4096) = 4096
15:02:22.611923 read(6821, "+ErXNk\nu7dCjmn21HYdfp2nuFeKUWdy1"..., 4096) = 4096
15:02:22.612014 read(6821, "HcCP009zHIXZ/n9iyJVvttN7jLpT\nwm+"..., 4096) = 4096
15:02:22.612114 read(6821, "2/NkAZiqlCxB\n3RWGymspThbASfzXg0g"..., 4096) = 4096
15:02:22.612230 read(6821, "9zrx7zABC4tRi9pZsMbj/7sPtPKlL92C"..., 4096) = 4096
15:02:22.612320 read(6821, "erQbj5hLja7NQ4n\nlv1mNDthcnPxFlxH"..., 4096) = 4096
15:02:22.612412 read(6821, "Td2jNTFGu6QHcrxfYWLopfsLN7E8trP6"..., 4096) = 4096
15:02:22.612470 brk(0) = 0x7f31d3b51000
15:02:22.612506 brk(0x7f31d3b72000) = 0x7f31d3b72000
15:02:22.612591 read(6821, "gQUQjK2FvoE/f5dS3rD/fdMQB1aQ68wN"..., 4096) = 4096
15:02:22.612687 read(6821, "TADAQH/MA0GCSqGSIb3\nDQEBCwUAA4IB"..., 4096) = 4096
15:02:22.612780 read(6821, "PdyxuVr5Os7aEAJSrR8kN0nbHhp8dB9O"..., 4096) = 4096
15:02:22.612859 read(6821, "EAMJmdBTLIXg47mAE6iqTnB/d6+Oea31"..., 4096) = 4096
15:02:22.613119 read(6821, "wpTY290dHNkYWxlMSUwIwYDVQQKExxTd"..., 4096) = 4096
15:02:22.613218 read(6821, "\ndGlvbiBBdXRob3JpdHkwHhcNMDYwOTE"..., 4096) = 4096
15:02:22.613286 read(6821, "afJQYqz7Fzf07rh1Z2AQ+4NQ+US1dZxA"..., 4096) = 4096
15:02:22.613370 read(6821, "dkjWjYDZaPBA61BMPNGG4WQr2W11bHkF"..., 4096) = 4096
15:02:22.613451 read(6821, "J9csc1fV5yJmz/MFMdOO0vSk3FQQoHt5"..., 4096) = 4096
15:02:22.613526 brk(0) = 0x7f31d3b72000
15:02:22.613554 brk(0x7f31d3b93000) = 0x7f31d3b93000
15:02:22.613623 read(6821, "BAgIBATANBgkqhkiG9w0BAQsFADCBgjE"..., 4096) = 4096
15:02:22.613709 read(6821, "A1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8E"..., 4096) = 4096
15:02:22.613815 read(6821, "ufLqGU5ywck9G/GwGHU5nOp/UKIXZ3/6"..., 4096) = 4096
15:02:22.613887 read(6821, "FDWaLk6M6jKYKIahkQlB\nOrTh4/L68Mk"..., 4096) = 4096
15:02:22.613977 read(6821, "----\n\n# USERTrust ECC Certificat"..., 4096) = 4096
15:02:22.614086 read(6821, "9Ksy\noUhbAgMBAAGjgbkwgbYwCwYDVR0"..., 4096) = 4096
15:02:22.614205 read(6821, "SW5jLiAtIEZvciBhdXRob3JpemVkIHVz"..., 4096) = 4096
15:02:22.614295 read(6821, "/fbGKhtcbP3\nLBfQdCVp9/5rPJS+TUtB"..., 4096) = 4096
15:02:22.614379 read(6821, "2KvxAmLBsX5VYc8T1yaw15zLKYs4SgsO"..., 4096) = 4096
15:02:22.614426 brk(0) = 0x7f31d3b93000
15:02:22.614458 brk(0x7f31d3bb4000) = 0x7f31d3bb4000
15:02:22.614636 read(6821, "MLH\nClZ87lt4DJX5GFPBphzYEDANBgkq"..., 4096) = 4096
15:02:22.614745 read(6821, "sUa0Lf\nb1+6a4KinVvnSr0eAXLbS3ToO"..., 4096) = 704
15:02:22.614821 read(6821, "", 4096) = 0
15:02:22.614863 close(6821) = 0
15:02:22.614898 munmap(0x7f3008773000, 4096) = 0
15:02:22.615507 fcntl(6820, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
15:02:22.615542 fcntl(6820, F_SETFL, O_RDWR|O_NONBLOCK) = 0
15:02:22.615597 write(6820, "\26\3\1\2\0\1\0\1\374\3\3\250\270\351\377\223\257\330\206i\23\0215pg\327F\251\30O\311E"..., 517) = 517
15:02:22.615636 read(6820, 0x7f31d3ba34b0, 7) = -1 EAGAIN (Resource temporarily unavailable)
15:02:22.615687 epoll_ctl(5, EPOLL_CTL_ADD, 6820, {EPOLLIN, {u32=6820, u64=6820}}) = 0
15:02:22.615745 stat("/mnt/new_server/market/test/Protocols/Ws.php", 0x7ffcde076c10) = -1 ENOENT (No such file or directory)
15:02:22.615785 stat("/mnt/new_server/market/vendor/workerman/workerman/../Protocols/Ws.php", 0x7ffcde076c10) = -1 ENOENT (No such file or directory)
15:02:22.615846 open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 6821
15:02:22.615886 fstat(6821, {st_mode=S_IFREG|0644, st_size=158, ...}) = 0
15:02:22.615921 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3008773000
15:02:22.615958 read(6821, "127.0.0.1 localhost localhost."..., 4096) = 158
15:02:22.615997 read(6821, "", 4096) = 0
15:02:22.616032 close(6821) = 0
15:02:22.616066 munmap(0x7f3008773000, 4096) = 0
15:02:22.616107 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 6821
15:02:22.616145 connect(6821, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("100.100.2.136")}, 16) = 0
15:02:22.616188 poll([{fd=6821, events=POLLOUT}], 1, 0) = 1 ([{fd=6821, revents=POLLOUT}])
15:02:22.616227 sendto(6821, "z\36\1\0\0\1\0\0\0\0\0\0\7testwss\7biqing5\3com"..., 37, MSG_NOSIGNAL, NULL, 0) = 37
15:02:22.616267 poll([{fd=6821, events=POLLIN}], 1, 2000) = 1 ([{fd=6821, revents=POLLIN}])
15:02:22.616825 ioctl(6821, FIONREAD, [53]) = 0
15:02:22.616889 recvfrom(6821, "z\36\201\200\0\1\0\1\0\0\0\0\7testwss\7biqing5\3com"..., 2048, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("100.100.2.136")}, [16]) = 53
15:02:22.616944 close(6821) = 0
15:02:22.616977 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 6821
15:02:22.617025 connect(6821, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("100.100.2.136")}, 16) = 0
15:02:22.617063 poll([{fd=6821, events=POLLOUT}], 1, 1999) = 1 ([{fd=6821, revents=POLLOUT}])
15:02:22.617100 sendto(6821, "&g\1\0\0\1\0\0\0\0\0\0\7testwss\7biqing5\3com"..., 37, MSG_NOSIGNAL, NULL, 0) = 37
15:02:22.617135 poll([{fd=6821, events=POLLIN}], 1, 1999) = 1 ([{fd=6821, revents=POLLIN}])
15:02:22.617392 ioctl(6821, FIONREAD, [105]) = 0
15:02:22.617435 brk(0) = 0x7f31d3bb4000
15:02:22.617499 brk(0x7f31d3be0000) = 0x7f31d3be0000
15:02:22.617558 recvfrom(6821, "&g\201\200\0\1\0\0\0\1\0\0\7testwss\7biqing5\3com"..., 65536, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("100.100.2.136")}, [16]) = 105
15:02:22.617606 close(6821) = 0
15:02:22.617648 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 6821
15:02:22.617689 fcntl(6821, F_GETFL) = 0x2 (flags O_RDWR)
15:02:22.617728 fcntl(6821, F_SETFL, O_RDWR|O_NONBLOCK) = 0
15:02:22.617762 connect(6821, {sa_family=AF_INET, sin_port=htons(443), sin_addr=inet_addr("47.243.108.249")}, 16) = -1 EINPROGRESS (Operation now in progress)
15:02:22.617843 epoll_ctl(5, EPOLL_CTL_ADD, 6821, {EPOLLOUT, {u32=6821, u64=6821}}) = 0
15:02:22.617918 write(2578, "\27\3\3\0-\305}RI\v\362\247\272s\233p\304)\351\345\356\326\355\2L\232\211\351\335\367E\355"..., 50) = 50
15:02:22.617959 epoll_ctl(5, EPOLL_CTL_MOD, 2578, {EPOLLIN, {u32=2578, u64=2578}}) = 0
15:02:22.618003 write(2579, "\27\3\3\0-_\241)yu\204\1\252\363\330\f\237dO\231\200\234\1\357\36\205\35\233!\364B\17"..., 50) = 50
15:02:22.618053 epoll_ctl(5, EPOLL_CTL_MOD, 2579, {EPOLLIN, {u32=2579, u64=2579}}) = 0
15:02:22.618106 epoll_ctl(5, EPOLL_CTL_MOD, 2580, {EPOLLIN|EPOLLOUT, {u32=2580, u64=2580}}) = 0
15:02:22.618148 epoll_wait(5, {{EPOLLIN, {u32=6818, u64=6818}}, {EPOLLIN, {u32=6819, u64=6819}}, {EPOLLIN, {u32=2576, u64=2576}}, {EPOLLIN, {u32=2577, u64=2577}}, {EPOLLOUT, {u32=2580, u64=2580}}}, 32, 5) = 5
15:02:22.618199 read(6818, "\27\3\3\0\316", 5) = 5
15:02:22.618237 read(6818, "D\31B|\233\265\272\363\301n\317G\343\372\3330\343\232\22\330r\251A\263=S\"\366\23\325\375$"..., 206) = 206
15:02:22.618292 poll([{fd=6819, events=POLLIN|POLLPRI|POLLERR|POLLHUP}], 1, 0) = 1 ([{fd=6819, revents=POLLIN}])
15:02:22.618337 recvfrom(6819, "\26", 1, MSG_PEEK, NULL, NULL) = 1
15:02:22.618379 fcntl(6819, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
15:02:22.618412 fcntl(6819, F_SETFL, O_RDWR|O_NONBLOCK) = 0
15:02:22.618448 read(6819, "\26\3\3\0\272", 5) = 5
15:02:22.618491 read(6819, "\4\0\0\266\0\0\1,\0\260\2/\355\371X\341\245\277\222\252\373\230\27\306\353p\211\353f\232R\311"..., 186) = 186
15:02:22.618534 read(6819, "\24\3\3\0\1", 5) = 5
15:02:22.618571 read(6819, "\1", 1) = 1
15:02:22.618631 read(6819, "\26\3\3\0(", 5) = 5
15:02:22.618664 read(6819, "\361\376\330\306\356\343\334\351\"\333T\345aG\304\322\20\201\251x2A\213\340F\34\356\326\210~\222~"..., 40) = 40
15:02:22.618743 epoll_ctl(5, EPOLL_CTL_MOD, 6819, {EPOLLIN|EPOLLOUT, {u32=6819, u64=6819}}) = 0
15:02:22.618784 read(6819, 0x7f31d3a8fad3, 5) = -1 EAGAIN (Resource temporarily unavailable)
15:02:22.618819 poll([{fd=6819, events=POLLIN|POLLPRI|POLLERR|POLLHUP}], 1, 0) = 0 (Timeout)
15:02:22.618855 read(2576, "\27\3\3\0)", 5) = 5
15:02:22.618892 read(2576, "\303\261\352\27\361^\365\362\215\337Y\0\350\33\341\300E\244\213\200e>[\342#\36\242\34\352\2\304\7"..., 41) = 41
15:02:22.618939 read(2577, "\27\3\3\0)", 5) = 5
15:02:22.618974 read(2577, "W\21\3635y\1\243\275 \32\1\355\37\251'\361\342\6\377\5yt\331\334\315[\212\0\377}xp"..., 41) = 41
15:02:22.619024 write(2580, "\27\3\3\0-\323\272\4G7\351\252\312E~\20'\341&\225\303\247\360\3618'ya\2\\\253n"..., 50) = 50
15:02:22.619066 epoll_ctl(5, EPOLL_CTL_MOD, 2580, {EPOLLIN, {u32=2580, u64=2580}}) = 0
15:02:22.619116 epoll_ctl(5, EPOLL_CTL_MOD, 2581, {EPOLLIN|EPOLLOUT, {u32=2581, u64=2581}}) = 0
15:02:22.619175 epoll_ctl(5, EPOLL_CTL_MOD, 2582, {EPOLLIN|EPOLLOUT, {u32=2582, u64=2582}}) = 0
15:02:22.619208 epoll_wait(5, {{EPOLLOUT, {u32=6819, u64=6819}}, {EPOLLIN, {u32=6820, u64=6820}}, {EPOLLOUT, {u32=6821, u64=6821}}, {EPOLLOUT, {u32=2581, u64=2581}}, {EPOLLOUT, {u32=2582, u64=2582}}, {EPOLLIN, {u32=2578, u64=2578}}}, 32, 6) = 6
15:02:22.619283 write(6819, "\27\3\3\0\272`_KOl\202\220h\333\305\35\354\205H\0266\322L0\270\242%s\n\36O5"..., 191) = 191
15:02:22.619336 epoll_ctl(5, EPOLL_CTL_MOD, 6819, {EPOLLIN, {u32=6819, u64=6819}}) = 0
15:02:22.619374 poll([{fd=6820, events=POLLIN|POLLPRI|POLLERR|POLLHUP}], 1, 0) = 1 ([{fd=6820, revents=POLLIN}])
15:02:22.619409 recvfrom(6820, "\26", 1, MSG_PEEK, NULL, NULL) = 1
15:02:22.619457 fcntl(6820, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
15:02:22.619496 fcntl(6820, F_SETFL, O_RDWR|O_NONBLOCK) = 0
15:02:22.619541 read(6820, "\26\3\3\0B\2\0", 7) = 7
15:02:22.619587 read(6820, "\0>\3\3\267\347\353\3107!M\247. \35\250\276w\2230\24\364\226Z6\257Q\nN~.\227"..., 64) = 64
15:02:22.619631 read(6820, "\26\3\3\v\215", 5) = 5
15:02:22.619667 read(6820, "\v\0\v\211\0\v\206\0\6u0\202\6q0\202\4\331\240\3\2\1\2\2\0209G\254y\205If"..., 2957) = 2957
15:02:22.620063 read(6820, "\26\3\3\1M", 5) = 5
15:02:22.620104 read(6820, "\f\0\1I\3\0\27A\4t\202\234\342\274K^\203x\3230K%P\345E}\244\343Z\363\21k"..., 333) = 333
15:02:22.620233 read(6820, "\26\3\3\0\4", 5) = 5
15:02:22.620290 read(6820, "\16\0\0\0", 4) = 4
15:02:22.620793 write(6820, "\26\3\3\0F\20\0\0BA\4\346\206\364\346\304\311\260\"\304\2\220\376\215\22r\35\301$#^\240"..., 126) = 126
15:02:22.620846 read(6820, 0x7f31d3ba34b3, 5) = -1 EAGAIN (Resource temporarily unavailable)
15:02:22.620928 epoll_ctl(5, EPOLL_CTL_DEL, 6821, {EPOLLOUT, {u32=6821, u64=6821}}) = 0
15:02:22.620976 getpeername(6821, {sa_family=AF_INET, sin_port=htons(443), sin_addr=inet_addr("47.243.108.249")}, [16]) = 0
15:02:22.621034 fcntl(6821, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
15:02:22.621067 fcntl(6821, F_SETFL, O_RDWR|O_NONBLOCK) = 0
15:02:22.621103 poll([{fd=6821, events=POLLIN|POLLPRI|POLLERR|POLLHUP}], 1, 0) = 0 (Timeout)
15:02:22.621258 open("/etc/pki/tls/cert.pem", O_RDONLY) = 6822
15:02:22.621321 fstat(6822, {st_mode=S_IFREG|0444, st_size=271040, ...}) = 0
15:02:22.621355 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3008773000
15:02:22.621391 read(6822, "# Entrust.net Secure Server CA\n-"..., 4096) = 4096
15:02:22.642438 read(6822, "xMdRXF1aWZheCBT\nZWN1cmUgZUJ1c2lu"..., 4096) = 4096
15:02:22.654877 read(6822, "DVQQLExFUYW51c2l0dmFueWtpYWRvazE"..., 4096) = 4096
15:02:22.655068 read(6822, "ZW1pdW0gU2VydmVyIENBMSgwJgYJKoZI"..., 4096) = 4096
15:02:22.655270 read(6822, "9UNV+mWwD5MlM/Mtsq2azSiGM5bUMMj4"..., 4096) = 4096
15:02:22.666453 read(6822, "OsOxFwYIRKQ26ZIMApcQrAZQIDAQABo4"..., 4096) = 4096
15:02:22.673396 read(6822, "A1UECwwQQUMgUkFJWiBG\nTk1ULVJDTTC"..., 4096) = 4096
15:02:22.693624 read(6822, "CU0Ux\nFDASBgNVBAoTC0FkZFRydXN0IE"..., 4096) = 4096
15:02:25.392292 read(6822, "ozH7ZxOmuASu7VqTITh\n4SINhwBk/ox9"..., 4096) = 4096
15:02:29.741118 read(6822, "Zpg4Jg8klCNO1aAFSFHBY2kgxc+qatv9"..., 4096) = 4096
15:02:36.121188 read(6822, "UzEPMA0GA1UEChMGQW1hem9uMRkwFwYD"..., 4096) = 4096
15:02:45.814770 +++ killed by SIGKILL +++
[root@izj6c58ed7tzwnsn8t36buz ~]#
使用 nginx代理 看看
你好,使用nginx反向代理也是一样。wss就是上不去7000 感觉跟这个证书有关系,【打开文件数】也设置了,郁闷了
进程退出,没有任何报错信息吗 ?
status 9
https://www.workerman.net/q/1013
这是之前有人提过的 退出状态 status 9 看看有没有帮助
https://www.workerman.net/doc/workerman/debug/status.html 这是官方说明 status 退出状态码说明
进程退出了,可能是内存达到monitor进程监控的上限了,加大 php.ini 的momory_limit配置试下
可是ws没问题 wss才有问题呢
wss要加密读证书啥的,占用内存大一些估计
看下NGINX或者apache的访问日志 里面会有ssl链接的信息
没有通过nginx apache呢