Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: tun模式的新dns模板导致cpu内存飙升 #3387

Closed
2 tasks done
Trudeau566 opened this issue Mar 1, 2023 · 11 comments
Closed
2 tasks done

[Bug]: tun模式的新dns模板导致cpu内存飙升 #3387

Trudeau566 opened this issue Mar 1, 2023 · 11 comments
Labels
bug Something isn't working

Comments

@Trudeau566
Copy link

预期情况

正常

实际情况

Snipaste_2023-03-01_19-05-54

复现方法

{
"servers": [
{
"tag": "out_dns",
"address": "8.8.8.8",
"detour": "proxy"
},
{
"tag": "local",
"address": "223.5.5.5",
"detour": "direct"
},
{
"tag": "block",
"address": "rcode://success"
}
],
"rules": [
{
"geosite": "cn",
"server": "local",
"disable_cache": true
},
{
"geosite": "category-ads-all",
"server": "block",
"disable_cache": true
}
],
"strategy": "ipv4_only"
}

日志信息

2023/03/01 19:05:44 udp:127.0.0.1:62146 accepted udp:8.8.8.8:53 [socks -> direct]
2023/03/01 19:05:44 udp:127.0.0.1:62148 accepted udp:8.8.8.8:53 [socks -> direct]
2023/03/01 19:05:44 udp:127.0.0.1:62150 accepted udp:8.8.8.8:53 [socks -> direct]
2023/03/01 19:05:44 udp:127.0.0.1:62152 accepted udp:8.8.8.8:53 [socks -> direct]

额外信息

No response

我确认已更新至最新版本

我确认已查询历史issues

@Trudeau566 Trudeau566 added the bug Something isn't working label Mar 1, 2023
@being123321
Copy link

image
确实

@Trudeau566
Copy link
Author

我把8.8.8.8加入到代理规则里问题解决了

@2dust
Copy link
Owner

2dust commented Mar 2, 2023

感谢反馈
请把正常的配置完整发下

@Trudeau566
Copy link
Author

感谢反馈 请把正常的配置完整发下

老dns模板 → 一切正常
新dns模板 → 绕过大陆 → 一切正常
新dns模板 → 黑名单 → cpu内存飙升,并且日志疯狂输出这条信息:2023/03/01 19:05:44 udp:127.0.0.1:62146 accepted udp:8.8.8.8:53 [socks -> direct]
新dns模板 → 黑名单 → 把8.8.8.8加入代理列表—恢复正常

@lvzhenbo
Copy link

lvzhenbo commented Mar 3, 2023

+1,cpu占用会达到100%,希望下个版本能够修复

@2dust
Copy link
Owner

2dust commented Mar 4, 2023

https://github.com/2dust/v2rayN/releases/tag/6.15

使用此版本,高级路由一键导入后会自动加入geoio:google
或在黑名单规则集的outbound proxy中的IP增加

 "geoip:cloudflare",
      "geoip:cloudfront",
      "geoip:facebook",
      "geoip:fastly",
      "geoip:google",
      "geoip:netflix",
      "geoip:telegram",
      "geoip:twitter"

@mehrdad1990
Copy link

this bug still remains the same. what can we do to prevent CPU load while turning TUN mode on???
this is really bad. in fact TUN mode is not usable.

@mehrdad1990
Copy link

the bug is still there in 6.17

@2dust
Copy link
Owner

2dust commented Mar 16, 2023

the bug is still there in 6.17

Please provide feedback after customizing the configuration file

@mehrdad1990
Copy link

how to correctly customize the configuration file?
could you please elaborate on it?
@2dust

@2dust
Copy link
Owner

2dust commented Mar 31, 2023

@mehrdad1990 try #3156

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants