mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2434] frp using high CPU utilization #1935
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#1935
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 @Sunil178 on GitHub (Jun 4, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2434
This is for issue occurring while having only 15 connections.
[REQUIRED] hat version of frp are you using
Version: 0.36.2
[REQUIRED] What operating system and processor architecture are you using
OS: Linux
CPU architecture: AMD64
[REQUIRED] description of errors

CPU is getting utilized very much highly which causes slow data transmission.
confile
[common]
bind_addr = 0.0.0.0
bind_port = 2000
bind_udp_port = 2001
kcp_bind_port = 2000
vhost_http_port = 80
vhost_https_port = 443
dashboard_addr = 0.0.0.0
dashboard_port = 2500
dashboard_user = admin
dashboard_pwd = admin
enable_prometheus = true
log_file = ./frps.log
log_level = info
log_max_days = 3
disable_log_color = false
detailed_errors_to_client = true
authentication_method = token
authenticate_heartbeats = false
authenticate_new_work_conns = false
authentication_timeout = 900
token = 12345678
oidc_issuer =
oidc_audience =
oidc_skip_expiry_check = false
OidcIssuer.
oidc_skip_issuer_check = false
allow_ports = 3000-50000
max_pool_count = 5
max_ports_per_client = 0
tls_enable = false
subdomain_host = frps.com
tcp_mux = true
udp_packet_size = 1500
protocol = http
type = http
Total CPU
Amazon aws's t3.medium instance with 2 vCPUs
** Last Log **
2021/06/05 14:06:34 [W] [http.go:92] do http proxy request error: no such domain: 13.232.138.251 /api/jsonws/invoke
2021/06/05 14:06:34 [W] [http.go:92] do http proxy request error: no such domain: 13.232.138.251 /vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php
2021/06/05 14:06:34 [W] [http.go:92] do http proxy request error: no such domain: 13.232.138.251 /solr/admin/info/system
2021/06/05 14:06:34 [W] [http.go:92] do http proxy request error: no such domain: 13.232.138.251 /vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php
2021/06/05 14:06:34 [W] [http.go:92] do http proxy request error: no such domain: 13.232.138.251 /index.php
2021/06/05 14:06:34 [W] [http.go:92] do http proxy request error: no such domain: 13.232.138.251 /
2021/06/05 14:06:35 [W] [http.go:92] do http proxy request error: no such domain: 13.232.138.251 /
2021/06/05 14:06:35 [W] [http.go:92] do http proxy request error: no such domain: 13.232.138.251 /wp-content/plugins/wp-file-manager/readme.txt
2021/06/05 14:06:35 [W] [http.go:92] do http proxy request error: no such domain: 13.232.138.251 /console/
2021/06/05 14:06:35 [W] [http.go:92] do http proxy request error: no such domain: 13.232.138.251 /Autodiscover/Autodiscover.xml
2021/06/05 14:06:35 [W] [http.go:92] do http proxy request error: no such domain: 13.232.138.251 /_ignition/execute-solution
2021/06/05 14:06:36 [I] [proxy.go:162] [ba30770f1c4e9e16] [android_proxy_8102] get a user connection [103.75.227.226:60572]
2021/06/05 14:06:49 [I] [proxy.go:162] [ba30770f1c4e9e16] [android_proxy_8102] get a user connection [103.75.227.226:60580]
2021/06/05 14:08:16 [I] [proxy.go:162] [ba30770f1c4e9e16] [android_proxy_8102] get a user connection [103.75.227.226:60628]
2021/06/05 14:08:22 [I] [proxy.go:162] [ba30770f1c4e9e16] [android_proxy_8102] get a user connection [103.75.227.226:60632]
2021/06/05 14:08:41 [I] [proxy.go:162] [ba30770f1c4e9e16] [android_proxy_8102] get a user connection [103.75.227.226:60644]
2021/06/05 14:08:59 [I] [proxy.go:162] [ba30770f1c4e9e16] [android_proxy_8102] get a user connection [103.75.227.226:60654]
2021/06/05 14:10:35 [I] [proxy.go:162] [ba30770f1c4e9e16] [android_proxy_8102] get a user connection [103.75.227.226:60705]
2021/06/05 14:11:12 [I] [proxy.go:162] [ba30770f1c4e9e16] [android_proxy_8102] get a user connection [103.75.227.226:60726]
@fatedier commented on GitHub (Jun 8, 2021):
There is not enough information to detect what's wrong.
Config file, log, total CPU of your machine, etc...
@Sunil178 commented on GitHub (Jun 8, 2021):
Is it okay now?
@fatedier commented on GitHub (Jun 9, 2021):
No idea from these logs. Can you reproduce this problem in local environment?
@github-actions[bot] commented on GitHub (Jul 25, 2021):
Issues go stale after 45d of inactivity. Stale issues rot after an additional 10d of inactivity and eventually close.