首页
下载
文档
问答社区
视频
捐赠
源代码
AI 助理
赞助商
CRMEB
Apipost
腾讯云
微擎
禅道
51Talk
商业产品
Swoole AI 智能文档翻译器
Swoole-Compiler PHP 代码加密器
CRMEB 新零售社交电商系统
登录
注册
全部
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
发表新帖
异步tcp服务端 tcp连接不稳定(为什么驳回 给个解释行吗)
**1、具体问题** 异步tcp服务端 链接不稳定 ,100左右的并发下 即使使用连接池连接经常被重置或者被拒绝,没有并发的时候偶尔会出现 tcp连接抓包内容: https://qfx.oss-cn-shenzhen.aliyuncs.com/pdf/1601200014(1).png https://qfx.oss-cn-shenzhen.aliyuncs.com/pdf/bf5adfca84c81e6751d96d62f7d1a98.png **2.环境信息 ** swoole Swoole => enabled Author => Swoole Team team@swoole.com Version => 4.4.18 Built => Aug 11 2020 11:54:51 coroutine => enabled epoll => enabled eventfd => enabled signalfd => enabled cpu_affinity => enabled spinlock => enabled rwlock => enabled sockets => enabled openssl => OpenSSL 1.1.1d 10 Sep 2019 http2 => enabled pcre => enabled zlib => 1.2.11 mutex_timedlock => enabled pthread_barrier => enabled futex => enabled mysqlnd => enabled async_redis => enabled Directive => Local Value => Master Value swoole.enable_coroutine => On => On swoole.enable_library => On => On swoole.enable_preemptive_scheduler => Off => Off swoole.display_errors => On => On swoole.use_shortname => On => On swoole.unixsock_buffer_size => 8388608 => 8388608 Linux bb2e3a769840 3.10.0-957.27.2.el7.x86_64 #1 SMP Mon Jul 29 17:46:05 UTC 2019 x86_64 GNU/Linux PHP 7.2.33 (cli) (built: Aug 6 2020 22:31:48) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
发布于4年前 · 0 次浏览 · 来自
提问
ne12312
**1、具体问题** 异步tcp服务端 链接不稳定 ,100左右的并发下 即使使用连接池连接经常被重置或者被拒绝,没有并发的时候偶尔会出现 tcp连接抓包内容: https://qfx.oss-cn-shenzhen.aliyuncs.com/pdf/1601200014(1).png https://qfx.oss-cn-shenzhen.aliyuncs.com/pdf/bf5adfca84c81e6751d96d62f7d1a98.png **2.环境信息 ** swoole Swoole => enabled Author => Swoole Team team@swoole.com Version => 4.4.18 Built => Aug 11 2020 11:54:51 coroutine => enabled epoll => enabled eventfd => enabled signalfd => enabled cpu_affinity => enabled spinlock => enabled rwlock => enabled sockets => enabled openssl => OpenSSL 1.1.1d 10 Sep 2019 http2 => enabled pcre => enabled zlib => 1.2.11 mutex_timedlock => enabled pthread_barrier => enabled futex => enabled mysqlnd => enabled async_redis => enabled Directive => Local Value => Master Value swoole.enable_coroutine => On => On swoole.enable_library => On => On swoole.enable_preemptive_scheduler => Off => Off swoole.display_errors => On => On swoole.use_shortname => On => On swoole.unixsock_buffer_size => 8388608 => 8388608 Linux bb2e3a769840 3.10.0-957.27.2.el7.x86_64 #1 SMP Mon Jul 29 17:46:05 UTC 2019 x86_64 GNU/Linux PHP 7.2.33 (cli) (built: Aug 6 2020 22:31:48) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
赞
0
分享
收藏
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
评论
2020-10-13
鲁飞
GitHub提交了issue,就在issue问就可以了。 https://github.com/swoole/swoole-src/issues/3707
赞
0
回复
2020-10-13
ne12312
回复
鲁飞
好吧 没有答案 有点着急
赞
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一直是同一个。没用使用到多进程啊。