首页
下载
文档
问答社区
视频
捐赠
源代码
AI 助理
赞助商
CRMEB
Apipost
腾讯云
微擎
禅道
51Talk
商业产品
Swoole AI 智能文档翻译器
Swoole-Compiler PHP 代码加密器
CRMEB 新零售社交电商系统
登录
注册
全部
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
发表新帖
求教分析,ab测试并发服务器, stream_socket_accept(): accept failed:这是啥意思
服务端结果 PHP Warning: stream_socket_accept(): accept failed: Resource temporarily unavailable i 这怎么是stream_socket的了,不是swoole 下面是在远程自己笔记本测试美国的vps Completed 1000 requests Completed 2000 requests Completed 3000 requests Completed 4000 requests Completed 5000 requests Completed 6000 requests Completed 7000 requests Completed 8000 requests Completed 9000 requests Completed 10000 requests Finished 10000 requests Server Software: Swoole Server Hostname: 23.80.248.253 Server Port: 7777 Document Path: /hello/index Document Length: 11 bytes Concurrency Level: 100 Time taken for tests: 28.373 seconds Complete requests: 10000 Failed requests: 0 Write errors: 0 Total transferred: 2750825 bytes HTML transferred: 110033 bytes Requests per second: 352.45 [#/sec] (mean) Time per request: 283.731 [ms] (mean) Time per request: 2.837 [ms] (mean, across all concurrent requests) Transfer rate: 94.68 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 69 142 24.3 142 1292 Processing: 75 141 24.5 141 528 Waiting: 72 139 24.4 139 527 Total: 204 282 36.2 281 1419 Percentage of the requests served within a certain time (ms) 50% 281 66% 289 75% 294 80% 297 90% 306 95% 316 98% 331 99% 360 100% 1419 (longest request)
发布于9年前 · 0 次浏览 · 来自
提问
燊
燊
服务端结果 PHP Warning: stream_socket_accept(): accept failed: Resource temporarily unavailable i 这怎么是stream_socket的了,不是swoole 下面是在远程自己笔记本测试美国的vps Completed 1000 requests Completed 2000 requests Completed 3000 requests Completed 4000 requests Completed 5000 requests Completed 6000 requests Completed 7000 requests Completed 8000 requests Completed 9000 requests Completed 10000 requests Finished 10000 requests Server Software: Swoole Server Hostname: 23.80.248.253 Server Port: 7777 Document Path: /hello/index Document Length: 11 bytes Concurrency Level: 100 Time taken for tests: 28.373 seconds Complete requests: 10000 Failed requests: 0 Write errors: 0 Total transferred: 2750825 bytes HTML transferred: 110033 bytes Requests per second: 352.45 [#/sec] (mean) Time per request: 283.731 [ms] (mean) Time per request: 2.837 [ms] (mean, across all concurrent requests) Transfer rate: 94.68 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 69 142 24.3 142 1292 Processing: 75 141 24.5 141 528 Waiting: 72 139 24.4 139 527 Total: 204 282 36.2 281 1419 Percentage of the requests served within a certain time (ms) 50% 281 66% 289 75% 294 80% 297 90% 306 95% 316 98% 331 99% 360 100% 1419 (longest request)
赞
0
分享
收藏
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
评论
2015-03-22
影
影之歌
看下代码中是不是用了SelectTCP。 需要换成Server.
赞
0
回复
微信公众号
热门内容
暂无回复的问答
- CodeGalaxy K3s 轻量集群节点之间如何实现负载均衡
- 关于openssl CURL WARNING swSSL_connect: SSL_connect(fd=69) failed. Error: error:141A318A:SSL routines:tls_process_ske_dhe:dh key too small[1|394]
- 多个模型如何进行事务异常回退?
- websocket开启wss报错
- 协程tcp服务器如何使用多进程?recv()方法接收信息,打印出来的pid一直是同一个。没用使用到多进程啊。