[GH-ISSUE #2027] frpc 占用CPU过高,卡死 #1609

Closed
opened 2026-05-05 13:01:42 -06:00 by gitea-mirror · 0 comments
Owner

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)

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)**
gitea-mirror 2026-05-05 13:01:42 -06:00
  • closed this issue
  • added the
    question
    label
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#1609
No description provided.