Home
Document
Q&A
Video
Donate
Source Code
Code-Galaxy 云原生平台
Business
Swoole Tracker
Swoole Compiler
Login
Register
全部
提问
分享
讨论
建议
公告
开发框架
发表新帖
TCP 超时重传问题
### 问题描述  192.168.88.88是swoole server,当并发高时TCP超时重传,服务端也发送一个重传请求,于是客户端又发送了一个ack导致重复ack,随后又关闭了连接。 问题在于服务端为什么会发送一个重传请求,随后又关闭连接。 ### Swoole版本,PHP版本,以及操作系统版本信息 Swoole => enabled Author => Swoole Team <team@swoole.com> Version => 4.5.2 Built => Dec 10 2021 16:23:28 coroutine => enabled epoll => enabled eventfd => enabled signalfd => enabled spinlock => enabled rwlock => enabled zlib => 1.2.11 mutex_timedlock => enabled pthread_barrier => enabled futex => 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 => Off => Off swoole.unixsock_buffer_size => 8388608 => 8388608
发布于6月前 · 21 次浏览 · 来自
提问
iplus.
### 问题描述  192.168.88.88是swoole server,当并发高时TCP超时重传,服务端也发送一个重传请求,于是客户端又发送了一个ack导致重复ack,随后又关闭了连接。 问题在于服务端为什么会发送一个重传请求,随后又关闭连接。 ### Swoole版本,PHP版本,以及操作系统版本信息 Swoole => enabled Author => Swoole Team <team@swoole.com> Version => 4.5.2 Built => Dec 10 2021 16:23:28 coroutine => enabled epoll => enabled eventfd => enabled signalfd => enabled spinlock => enabled rwlock => enabled zlib => 1.2.11 mutex_timedlock => enabled pthread_barrier => enabled futex => 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 => Off => Off swoole.unixsock_buffer_size => 8388608 => 8388608
赞
0
分享
收藏
提问
分享
讨论
建议
公告
开发框架
评论
2021-12-17
Rango
查看`dmesg`日志,可能需要修改某些内核参数
赞
0
回复
微信公众号
热门内容
- 关于不同进程共用链接的疑问
- 关于sendfile发送文件的一些疑问,还请知道的大佬赐教
- 请问哪位大佬知道我这是什么原因?
- tcp连接4次挥手的疑问
- 开启enableCoroutine发送https请求会报错abnormal exit, status=0, signal=10
暂无回复的问答
- 关于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]
- 请问那个一键协程化的代码是放外面还是set里面
- 多个模型如何进行事务异常回退?
- websocket开启wss报错
- 协程tcp服务器如何使用多进程?recv()方法接收信息,打印出来的pid一直是同一个。没用使用到多进程啊。