mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #1562] 有oom发生,导致了服务端被系统杀死。 #1235
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#1235
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 @chunfengyao on GitHub (Dec 12, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1562
What version of frp are you using (./frpc -v or ./frps -v)?
0.30.0
frp_0.30.0_linux_mipsle.tar.gz
cpu: mt7621
mem: 256MB
flash(nand): 128MB
What operating system and processor architecture are you using (
go env)?Openwrt 18.06.5
Linux OpenWrt 4.14.151 #0 SMP Tue Nov 5 14:12:18 2019 mips GNU/Linux
Configures you used:
Steps to reproduce the issue:
1.frp服务端、frp客户端分别启动(代理的是一个http文件服务),。
2.下载使用的是axel,多线程下载,总计连接数为450个(共9个下载,每个有50个线程)(可能是主要原因)。
3.一段时间后frp服务端出现oom(系统日志中看到的),然后frp服务端被系统杀死。
4.尝试过添加max_pool_count = 50和500,尝试后问题依旧。
Describe the results you received:
以下是系统日志。来自logread命令。读取的是系统和内核日志。
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)
可以
@f8q8 commented on GitHub (Dec 31, 2019):
直接关掉oom
@fatedier commented on GitHub (Jan 5, 2020):
通常来说,要么增加系统内存,要么不要并发太多同时占用大量内存。