mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2604] http: Accept error: accept tcp [::]:7501: accept4: too many open files; retrying in 640ms #2078
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#2078
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 @tiagogbarbosa on GitHub (Oct 6, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2604
Bug Description
I have a server with 520 clients, but when the 521 connect i get '500 Server Response' on dashboard
frp shows
2021/10/06 11:09:41 http: Accept error: accept tcp [::]:7501: accept4: too many open files; retrying in 5ms
2021/10/06 11:09:41 http: Accept error: accept tcp [::]:7501: accept4: too many open files; retrying in 10ms
2021/10/06 11:09:41 http: Accept error: accept tcp [::]:7501: accept4: too many open files; retrying in 20ms
2021/10/06 11:09:41 http: Accept error: accept tcp [::]:7501: accept4: too many open files; retrying in 40ms
2021/10/06 11:09:58 http: Accept error: accept tcp [::]:7501: accept4: too many open files; retrying in 5ms
2021/10/06 11:09:58 http: Accept error: accept tcp [::]:7501: accept4: too many open files; retrying in 10ms
2021/10/06 11:09:58 http: Accept error: accept tcp [::]:7501: accept4: too many open files; retrying in 20ms
2021/10/06 11:09:58 http: Accept error: accept tcp [::]:7501: accept4: too many open files; retrying in 40ms
2021/10/06 11:09:58 http: Accept error: accept tcp [::]:7501: accept4: too many open files; retrying in 80ms
2021/10/06 11:09:58 http: Accept error: accept tcp [::]:7501: accept4: too many open files; retrying in 5ms
2021/10/06 11:10:11 http: Accept error: accept tcp [::]:7501: accept4: too many open files; retrying in 10ms
2021/10/06 11:10:11 http: Accept error: accept tcp [::]:7501: accept4: too many open files; retrying in 20ms
2021/10/06 11:10:11 http: Accept error: accept tcp [::]:7501: accept4: too many open files; retrying in 40ms
2021/10/06 11:10:11 http: Accept error: accept tcp [::]:7501: accept4: too many open files; retrying in 80ms
2021/10/06 11:10:11 http: Accept error: accept tcp [::]:7501: accept4: too many open files; retrying in 160ms
2021/10/06 11:10:12 http: Accept error: accept tcp [::]:7501: accept4: too many open files; retrying in 320ms
2021/10/06 11:10:12 http: Accept error: accept tcp [::]:7501: accept4: too many open files; retrying in 640ms
How can i fix this?
frpc Version
0.37.1
frps Version
0.36.2
System Architecture
linux/amd64
Configurations
[common]
A literal address or host name for IPv6 must be enclosed
in square brackets, as in "[::1]:80", "[ipv6-host]:http" or "[ipv6-host%zone]: 80"
#bind_addr = 0.0.0.0
bind_port = 5454
allow_ports = 40000-44000
log_file = /tmp/frps.log
log_level = debug
log_max_days = 3
authentication_method = token
token = ********
dashboard_port = 7501
dashboard_user = ******
dashboard_pwd = *******
assets_dir = /**************/frps/dist
Logs
No response
Steps to reproduce
...
Affected area
@tiagogbarbosa commented on GitHub (Oct 6, 2021):
2021/10/06 11:33:29 [W] [control.go:440] [f2632180a*******] new proxy [user_0149] error: no available port
@tiagogbarbosa commented on GitHub (Oct 6, 2021):
Fixed!
https://github.com/fatedier/frp/pull/2467/commits/2cfba84e472c1de3e556049081fb24b5ffcc45a4
Ty