[GH-ISSUE #3090] tcp_mux导致的链接不稳定 #2473

Closed
opened 2026-05-05 13:35:29 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @guol-fnst on GitHub (Sep 5, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/3090

Bug Description

由于tcp_mux=true会极大的降低性能。未开启转发可以到30MB/s,开启后只有2MB/s。
经过数次测试,发现关闭tcp_mux后经常链接不上
相关issue

https://github.com/fatedier/frp/issues/2987
https://github.com/fatedier/frp/issues/2917
https://github.com/fatedier/frp/issues/2898

frpc Version

0.44.0

frps Version

0.44.0

System Architecture

x86_64

Configurations

frpc
[common]
#server_addr = xx
server_addr = xx
server_port = 7000
#use_encryption = true
#use_compression = true
log_file=/var/log/frpc_aws.log
tcp_mux = false
admin_addr = 127.0.0.1
admin_port = 7400
log_level = info

[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 55
use_encryption = true
use_compression = true

frps
[common]
bind_port = 7000
vhost_http_port = 8000
tcp_mux=false

[ssh]
listen_port = 5555

Logs

No response

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @guol-fnst on GitHub (Sep 5, 2022). Original GitHub issue: https://github.com/fatedier/frp/issues/3090 ### Bug Description 由于tcp_mux=true会极大的降低性能。未开启转发可以到30MB/s,开启后只有2MB/s。 经过数次测试,发现关闭tcp_mux后经常链接不上 相关issue https://github.com/fatedier/frp/issues/2987 https://github.com/fatedier/frp/issues/2917 https://github.com/fatedier/frp/issues/2898 ### frpc Version 0.44.0 ### frps Version 0.44.0 ### System Architecture x86_64 ### Configurations frpc [common] #server_addr = xx server_addr = xx server_port = 7000 #use_encryption = true #use_compression = true log_file=/var/log/frpc_aws.log tcp_mux = false admin_addr = 127.0.0.1 admin_port = 7400 log_level = info [ssh] type = tcp local_ip = 127.0.0.1 local_port = 22 remote_port = 55 use_encryption = true use_compression = true frps [common] bind_port = 7000 vhost_http_port = 8000 tcp_mux=false [ssh] listen_port = 5555 ### Logs _No response_ ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@guol-fnst commented on GitHub (Sep 6, 2022):

我换回0.33版本一切都ok了
本issue可以关了

<!-- gh-comment-id:1237554791 --> @guol-fnst commented on GitHub (Sep 6, 2022): 我换回0.33版本一切都ok了 本issue可以关了
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#2473
No description provided.