mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #1293] too many open files #1022
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#1022
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 @mengpengfei on GitHub (Jun 21, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1293
2019/06/21 14:25:33 [W] [http.go:223] http: proxy error: context canceled
2019/06/21 14:25:33 [W] [resource.go:62] read custom 404 page error: open /data/soft/frp_0.27.0_linux_amd64/404.html: too many open files
2019/06/21 14:25:33 [I] [proxy.go:82] [xxxxx] [webhttp] get a new work connection: [120.244.141.72:16197]
2019/06/21 14:25:33 [W] [http.go:223] http: proxy error: context canceled
2019/06/21 14:25:33 [W] [resource.go:62] read custom 404 page error: open /data/soft/frp_0.27.0_linux_amd64/404.html: too many open files
2019/06/21 14:25:33 [I] [proxy.go:82] [9b321c874d470eab] [webhttp] get a new work connection: [120.244.141.72:16197]
2019/06/21 14:25:33 [W] [http.go:223] http: proxy error: context canceled
2019/06/21 14:25:33 [W] [resource.go:62] read custom 404 page error: open /data/soft/frp_0.27.0_linux_amd64/404.html: too many open files
2019/06/21 14:25:33 [I] [proxy.go:82] [9b321c874d470eab] [webhttp] get a new work connection:
[120.244.141.72:16197]
2019/06/21 14:25:33 [W] [http.go:223] http: proxy error: context canceled
2019/06/21 14:25:33 [W] [resource.go:62] read custom 404 page error: open /data/soft/frp_0.27.0_linux_amd64/404.html: too many open files
2019/06/21 14:25:33 [I] [proxy.go:82] [9b321c874d470eab] [webhttp] get a new work connection: [120.244.141.72:16197]
2019/06/21 14:25:33 [W] [http.go:223] http: proxy error: context canceled
2019/06/21 14:25:33 [W] [resource.go:62] read custom 404 page error: open /data/soft/frp_0.27.0_linux_amd64/404.html: too many open files
连接数超过1024一直包too many open files,但是操作系统限制已经解除了,为什么程序还一直报
[root@www frp_0.27.0_linux_amd64]# ps -ef|grep frps
root 48441 1 0 14:32 ? 00:00:05 /data/soft/frp_0.27.0_linux_amd64/frps -c /data/soft/frp_0.27.0_linux_amd64/frps.ini
root 57508 47755 0 15:03 pts/0 00:00:00 grep --color=auto frps
[root@www frp_0.27.0_linux_amd64]# ulimit -a 48441
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 15033
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1000000
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 15033
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited