-
Notifications
You must be signed in to change notification settings - Fork 33
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
cpu占用异常 #295
Comments
是不是开了,域名预读取? |
还真是,这东西这么吃cpu的吗?以前版本我也开着,这次更新完没改配置就直接安装了。 |
你可以自行编译,调高这个值。 smartdns-rs/src/dns_mw_cache.rs Line 145 in aa17d0f
|
https://github.com/mokeyish/smartdns-rs/actions/runs/9427011136 你下载这个版本试试,我怀疑是你用的部分域名查询加测速慢,之前版本没有标记,重复发起相同域名的查询。所以往检查域名过期加了标记,如果正在查询就不再发起新的查询了。 另外还是如此,就配置环境变量PREFETCH_MIN_INTERVAL 单位是秒。增加最下检查的时间间隔。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
0.8.2版本,服务模式运行一小时以上,cpu占用开始飙升,重启服务后恢复正常,再等一小时左右问题再次出现:
The text was updated successfully, but these errors were encountered: