mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2027] frpc 占用CPU过高,卡死 #1609
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#1609
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 @ckmark on GitHub (Oct 12, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/2027
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.
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)?
[root@a180 frp]# ./frpc -v
0.32.1
What operating system and processor architecture are you using (
go env)?CentOS 8.1
Configures you used:
[common]
server_addr = 127.0.0.1
server_port = 7000
token = 12345678
log_file = /var/log/frpc.log
admin_addr = 0.0.0.0
admin_port = 7400
[rdp_visitor_a4fa573b-7a85-4d06-aa3a-1dffb14aaa37]
type = stcp
role = visitor
server_name = rdp_a4fa573b-7a85-4d06-aa3a-1dffb14aaa37
sk = a4fa573b-7a85-4d06-aa3a-1dffb14aaa37
bind_addr = 127.0.0.1
bind_port = 31866
Steps to reproduce the issue:
1.frpc.ini 添加了18个[rdp_visitor_a4fa573b-7a85-4d06-aa3a-1dffb14aaa37]
2.多次反复reload 配置文件
3.不是必现,一个月内出现了2次
Describe the results you received:
cpu 一直占用100%,查看日志也没有日志输出,进程一直卡死了
strace -p 130800
strace: Process 130800 attached
futex(0xe19f28, FUTEX_WAIT_PRIVATE, 0, NULL
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
Can you point out what caused this issue (optional)