Xray-core
Xray-core copied to clipboard
Xray 1.5.9 内存占用的问题
系统: Openwrt原版 x86_64
使用的luci: https://github.com/kuoruan/luci-app-v2ray 因为这个好久没有更新了,所以我将Xray的二进制文件名改为v2ray 并替换掉原来的二进制文件,所以下面的pdf中文件名显示的是v2ray
开启白名单两个小时内主要是浏览网页 内存从120MB 涨到950MB
pdf文件是使用下面的命令生成的
go tool pprof http://example.com/debug/pprof/allocs
配置文件:
{
"observatory": {
"subjectSelector": [
"test1",
"test2"
],
"probeURL": "http://www.gstatic.com/generate_204",
"probeInterval": "1s"
},
"routing": {
"balancers": [
{
"tag": "balancers",
"selector": [
"test1",
"test2"
],
"strategy": {
"type": "leastPing"
}
}
],
"rules": [
{
"type": "field",
"network": "tcp",
"balancerTag": "balancers"
}
]
},
"inbounds": [
{
"listen": "0.0.0.0",
"port": 12345,
"protocol": "dokodemo-door",
"settings": {
"followRedirect": true,
"network": "tcp"
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
}
}
],
"outbounds": [
{
"protocol": "shadowsocks",//shadowsocks-2022
...
"tag": "test1"
},
{
"protocol": "shadowsocks",//shadowsocks-2022
...
"tag": "test2"
}
]
}
1.5.6 和 1.5.7 没出现此问题
麻烦大佬看一下@nekohasekai