mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #1199] 客户端连接失败反复重试导致内存占用过高 #942
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#942
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @VMatrices on GitHub (Apr 15, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1199
Originally assigned to: @blizard863 on GitHub.
Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly.
(为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。)
Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST
What version of frp are you using (./frpc -v or ./frps -v)?
v0.26.0
What operating system and processor architecture are you using (
go env)?Windows 10 x64
Configures you used:
Steps to reproduce the issue:
外部条件: 带有网络审查的环境
Describe the results you received:
客户端主机卡死,内存占用过高
Describe the results you expected:
客户端内存占用正常,不影响宿主机器
Additional information you deem important (e.g. issue happens only occasionally):

客户端内存占用情况,最多时占用约2G
部分日志(重连间隔时间非常短):
问题类似:
Issues 1178
@fatedier commented on GitHub (Mar 29, 2020):
@bingtianbaihua 可以测试下目前是否仍然会有问题。当 frpc 和 frps 连接建立成功,frps 立马断开连接后,frpc 的资源消耗情况。
如果有问题,可以考虑对连续登陆的情况也加上速率限制,目前只对登陆失败的重试会延长重试间隔。