[GH-ISSUE #3263] FRP遇到大量请求时客户方崩溃 #2615

Closed
opened 2026-05-05 13:41:13 -06:00 by gitea-mirror · 7 comments
Owner

Originally created by @KleeLoveLife on GitHub (Jan 19, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3263

Bug Description

使用FRP转发Minecraft时遇到压测时FRPC崩溃

frpc Version

0.46.1

frps Version

0.46.1

System Architecture

linux/amd64 -> windows/amd64

Configurations

[common]
server_addr = 114514
server_port = 7000
token = 114514

[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 25565
remote_port = 60009
proxy_protocol_version = v2

console or real logFile path like ./frpc.log

log_file = ./frpc.log

trace, debug, info, warn, error

log_level = info

log_max_days = 3

Logs

)1 UF5MTT5{OBY__ JK C
P}R)FCHBLJG}ZEC1)WMK$HH
@F%0FOV3`1NV07(O3{$R{49

Steps to reproduce

  1. 打开MCSTORM网站,输入本站IP
  2. FRPS接收到大量TCP请求,产生大量WARNING
  3. FRPC疯狂报错,崩溃
    ...
    nohup.tgz.log

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @KleeLoveLife on GitHub (Jan 19, 2023). Original GitHub issue: https://github.com/fatedier/frp/issues/3263 ### Bug Description 使用FRP转发Minecraft时遇到压测时FRPC崩溃 ### frpc Version 0.46.1 ### frps Version 0.46.1 ### System Architecture linux/amd64 -> windows/amd64 ### Configurations [common] server_addr = 114514 server_port = 7000 token = 114514 [ssh] type = tcp local_ip = 127.0.0.1 local_port = 25565 remote_port = 60009 proxy_protocol_version = v2 # console or real logFile path like ./frpc.log log_file = ./frpc.log # trace, debug, info, warn, error log_level = info log_max_days = 3 ### Logs ![)`1 UF5MTT5{OBY__ JK` C](https://user-images.githubusercontent.com/86773633/213439636-f3ad394d-e1b2-4785-a943-e33fb3958ad7.png) ![P}R)FCHBLJG}ZEC1)WMK$HH](https://user-images.githubusercontent.com/86773633/213439656-0addb470-52f9-4b75-a6dd-7f64b4b53214.png) ![@F%0FOV3`1NV07(O3{$R{49](https://user-images.githubusercontent.com/86773633/213439672-da6647f5-47f0-499f-a693-57b4fd833b5b.png) ### Steps to reproduce 1. 打开MCSTORM网站,输入本站IP 2. FRPS接收到大量TCP请求,产生大量WARNING 3. FRPC疯狂报错,崩溃 ... [nohup.tgz.log](https://github.com/fatedier/frp/files/10456653/nohup.tgz.log) ### Affected area - [ ] Docs - [ ] Installation - [X] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 13:41:13 -06:00
Author
Owner

@fatedier commented on GitHub (Jan 20, 2023):

错误信息需要更完整的日志

<!-- gh-comment-id:1397832932 --> @fatedier commented on GitHub (Jan 20, 2023): 错误信息需要更完整的日志
Author
Owner

@KleeLoveLife commented on GitHub (Jan 20, 2023):

错误信息需要更完整的日志

client.log

<!-- gh-comment-id:1397897705 --> @KleeLoveLife commented on GitHub (Jan 20, 2023): > 错误信息需要更完整的日志 [client.log](https://github.com/fatedier/frp/files/10463071/client.log)
Author
Owner

@KleeLoveLife commented on GitHub (Jan 20, 2023):

client_end.txt

错误信息需要更完整的日志

<!-- gh-comment-id:1397898855 --> @KleeLoveLife commented on GitHub (Jan 20, 2023): [client_end.txt](https://github.com/fatedier/frp/files/10463077/client_end.txt) > 错误信息需要更完整的日志
Author
Owner

@KleeLoveLife commented on GitHub (Jan 20, 2023):

错误信息需要更完整的日志

服务端见上nohup.tgz.log 删掉.log后缀

<!-- gh-comment-id:1397899563 --> @KleeLoveLife commented on GitHub (Jan 20, 2023): > 错误信息需要更完整的日志 服务端见上nohup.tgz.log 删掉.log后缀
Author
Owner

@xqzr commented on GitHub (Jan 20, 2023):

386?
如果 Windows 是 x64,可以尝试 amd64 版本

<!-- gh-comment-id:1398626541 --> @xqzr commented on GitHub (Jan 20, 2023): 386? 如果 Windows 是 x64,可以尝试 [amd64](https://github.com/fatedier/frp/releases/download/v0.46.1/frp_0.46.1_windows_amd64.zip) 版本
Author
Owner

@fatedier commented on GitHub (Jan 29, 2023):

@KleeLoveLife 你后面补充的 client 端的日志还是没有完整的日志,看不到 panic 的原因。

但是从日志中协程数量来看的话,猜测大概率是协程很多,某个资源耗尽后异常退出了。

至于为什么会有大量连接,取决于你的测试过程了,除非有可以便于我本地复现的方法,否则也没法给到更多的帮助。

<!-- gh-comment-id:1407695816 --> @fatedier commented on GitHub (Jan 29, 2023): @KleeLoveLife 你后面补充的 client 端的日志还是没有完整的日志,看不到 panic 的原因。 但是从日志中协程数量来看的话,猜测大概率是协程很多,某个资源耗尽后异常退出了。 至于为什么会有大量连接,取决于你的测试过程了,除非有可以便于我本地复现的方法,否则也没法给到更多的帮助。
Author
Owner

@github-actions[bot] commented on GitHub (Mar 1, 2023):

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

<!-- gh-comment-id:1449135063 --> @github-actions[bot] commented on GitHub (Mar 1, 2023): Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
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#2615
No description provided.