[GH-ISSUE #2965] frp的连接数量统计异常 #2367

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

Originally created by @LUOQING1994 on GitHub (Jun 2, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/2965

Bug Description

运行客户端和服务端后,打开控制面板,刷新页面后,统计面板上的连接数一直在改变,但真实情况是没有任何连接操作
我在客户端配置了pool_count = 10,但控制面板上的连接数会达到10+
微信截图_20220602114825

frpc Version

0.43.0

frps Version

0.40.0

System Architecture

arm/linux

Configurations

frpc配置
[common]
server_addr = xxx.xxx.xxx.xxx
server_port = xxx
token = xxxxx

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

default is false

use_gzip = false

connections will be established in advance, default value is zero

pool_count = 10
bandwidth_limit = 1000MB

frps配置
[common]
bind_port =xxx
token = xxxx

下面都是开启管理面板的配置

dashboard_addr = 0.0.0.0
dashboard_port = 5001
dashboard_user = xxxx
dashboard_pwd = xxxx

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 @LUOQING1994 on GitHub (Jun 2, 2022). Original GitHub issue: https://github.com/fatedier/frp/issues/2965 ### Bug Description 运行客户端和服务端后,打开控制面板,刷新页面后,统计面板上的连接数一直在改变,但真实情况是没有任何连接操作 我在客户端配置了pool_count = 10,但控制面板上的连接数会达到10+ ![微信截图_20220602114825](https://user-images.githubusercontent.com/20340633/171549363-4bc99da4-7ada-4ca6-a41e-1b1f43c64013.png) ### frpc Version 0.43.0 ### frps Version 0.40.0 ### System Architecture arm/linux ### Configurations frpc配置 [common] server_addr = xxx.xxx.xxx.xxx server_port = xxx token = xxxxx [ssh] type = tcp local_ip = 127.0.0.1 local_port = 22 remote_port = 6046 use_encryption = true # default is false use_gzip = false # connections will be established in advance, default value is zero pool_count = 10 bandwidth_limit = 1000MB frps配置 [common] bind_port =xxx token = xxxx # 下面都是开启管理面板的配置 dashboard_addr = 0.0.0.0 dashboard_port = 5001 dashboard_user = xxxx dashboard_pwd = xxxx ### Logs _No response_ ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [X] Performance and Scalability - [X] Security - [X] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@Becods commented on GitHub (Jun 3, 2022):

如果我没记错的话,pool_count为此连接数非彼连接数

意思即为你能开的最大映射数量

而不是每个映射所能 连接的数量

<!-- gh-comment-id:1145839650 --> @Becods commented on GitHub (Jun 3, 2022): 如果我没记错的话,`pool_count`为此连接数非彼连接数 意思即为你能开的最大映射数量 而不是每个映射所能 _连接的数量_
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#2367
No description provided.