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] CPU占用高 #994

Open
liuchao1899 opened this issue May 9, 2024 · 7 comments
Open

[BUG] CPU占用高 #994

liuchao1899 opened this issue May 9, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@liuchao1899
Copy link

问题描述 / Describe the bug

win10系统,电脑在使用一段时间,或是静置一段时间后(差不多半个小时)会莫名的占用CPU变高导至电脑CPU风扇高转,内核1.18.1之后试过多个版本,只要换回1.18.1内核的版本(1.60和1.5.10)后问题消失。

复现步骤 / To Reproduce

静置电脑一段时间后

操作系统 / OS

Windows

操作系统版本 / OS Version

win10

日志 / Log

图片
05-09 15:38:47INFO
[TCP] 127.0.0.1:12343(firefox.exe) --> rr3---sn-q4flrne7.googlevideo.com:443 match DomainSuffix(googlevideo.com) using 🌍 国外媒体[Twitter苏小柠|深港隧道|流媒体解锁_20]
05-09 15:38:47INFO
[TCP] 127.0.0.1:12331(firefox.exe) --> rr3---sn-q4flrne7.googlevideo.com:443 match DomainSuffix(googlevideo.com) using 🌍 国外媒体[Twitter苏小柠|深港隧道|流媒体解锁_20]
05-09 15:38:47INFO
[TCP] 127.0.0.1:12315(firefox.exe) --> yt3.ggpht.com:443 match Domain(yt3.ggpht.com) using 🌍 国外媒体[Twitter苏小柠|深港隧道|流媒体解锁_20]
05-09 15:38:47INFO
[TCP] 127.0.0.1:12344(firefox.exe) --> youtube.com:443 match DomainKeyword(youtube) using 🌍 国外媒体[Twitter苏小柠|深港隧道|流媒体解锁_20]
05-09 15:38:47INFO
[TCP] 127.0.0.1:12350(firefox.exe) --> rr1---sn-5hne6n6e.googlevideo.com:443 match DomainSuffix(googlevideo.com) using 🌍 国外媒体[Twitter苏小柠|深港隧道|流媒体解锁_20]
05-09 15:38:47INFO
[TCP] 127.0.0.1:12356 --> ocsp.pki.goog:80 match DomainSuffix(ocsp.pki.goog) using 🎯 全球直连[DIRECT]
05-09 15:38:48INFO
[TCP] 127.0.0.1:12335(firefox.exe) --> accounts.youtube.com:443 match DomainKeyword(youtube) using 🌍 国外媒体[Twitter苏小柠|深港隧道|流媒体解锁_20]
05-09 15:38:48INFO
[TCP] 127.0.0.1:12342(firefox.exe) --> rr1---sn-q4fl6nz7.googlevideo.com:443 match DomainSuffix(googlevideo.com) using 🌍 国外媒体[Twitter苏小柠|深港隧道|流媒体解锁_20]
05-09 15:38:48INFO
[TCP] 127.0.0.1:12360(firefox.exe) --> rr3---sn-q4flrne7.googlevideo.com:443 match DomainSuffix(googlevideo.com) using 🌍 国外媒体[Twitter苏小柠|深港隧道|流媒体解锁_20]
05-09 15:38:48INFO
[TCP] 127.0.0.1:12364(firefox.exe) --> rr1---sn-5hne6n6e.googlevideo.com:443 match DomainSuffix(googlevideo.com) using 🌍 国外媒体[Twitter苏小柠|深港隧道|流媒体解锁_20]
05-09 15:38:48INFO
[TCP] 127.0.0.1:12358 --> lh6.googleusercontent.com:443 match DomainKeyword(google) using 🚀 节点选择[Twitter苏小柠|深港隧道|流媒体解锁_20]
05-09 15:38:49INFO
[TCP] 127.0.0.1:12366(firefox.exe) --> rr1---sn-5hne6n6e.googlevideo.com:443 match DomainSuffix(googlevideo.com) using 🌍 国外媒体[Twitter苏小柠|深港隧道|流媒体解锁_20]
05-09 15:38:49INFO
[TCP] 127.0.0.1:12372(firefox.exe) --> lh5.googleusercontent.com:443 match DomainKeyword(google) using 🚀 节点选择[Twitter苏小柠|深港隧道|流媒体解锁_20]
05-09 15:38:49INFO
[TCP] 127.0.0.1:12368(firefox.exe) --> rr3---sn-q4flrne7.googlevideo.com:443 match DomainSuffix(googlevideo.com) using 🌍 国外媒体[Twitter苏小柠|深港隧道|流媒体解锁_20]
05-09 15:38:49INFO
[TCP] 127.0.0.1:12371(firefox.exe) --> lh6.googleusercontent.com:443 match DomainKeyword(google) using 🚀 节点选择[Twitter苏小柠|深港隧道|流媒体解锁_20]
05-09 15:38:49INFO
[TCP] 127.0.0.1:12362(firefox.exe) --> rr3---sn-q4flrne7.googlevideo.com:443 match DomainSuffix(googlevideo.com) using 🌍 国外媒体[Twitter苏小柠|深港隧道|流媒体解锁_20]
05-09 15:38:49INFO
[TCP] 127.0.0.1:12355 --> fonts.gstatic.com:443 match DomainSuffix(fonts.gstatic.com) using 🎯 全球直连[DIRECT]
05-09 15:38:49INFO
[TCP] 127.0.0.1:12354 --> fonts.gstatic.com:443 match DomainSuffix(fonts.gstatic.com) using 🎯 全球直连[DIRECT]
05-09 15:38:50INFO
[TCP] 127.0.0.1:12375(firefox.exe) --> rr1---sn-q4fl6nz7.googlevideo.com:443 match DomainSuffix(googlevideo.com) using 🌍 国外媒体[Twitter苏小柠|深港隧道|流媒体解锁_20]
05-09 15:38:50INFO
[TCP] 127.0.0.1:12379(firefox.exe) --> rr1---sn-5hne6n6e.googlevideo.com:443 match DomainSuffix(googlevideo.com) using 🌍 国外媒体[Twitter苏小柠|深港隧道|流媒体解锁_20]

@liuchao1899 liuchao1899 added the bug Something isn't working label May 9, 2024
@liuchao1899
Copy link
Author

图片
05-09 16:03:14INFO
[TCP] 127.0.0.1:13493(firefox.exe) --> github.com:443 match DomainKeyword(github) using 🚀 节点选择[Twitter苏小柠|深港隧道|流媒体解锁_20]
05-09 16:03:14INFO
[TCP] 127.0.0.1:13498(firefox.exe) --> detectportal.firefox.com:80 match Match using 🐟 漏网之鱼[Twitter苏小柠|深港隧道|流媒体解锁_20]
05-09 16:03:14INFO
[TCP] 127.0.0.1:13504(firefox.exe) --> aus5.mozilla.org:443 match Match using 🐟 漏网之鱼[Twitter苏小柠|深港隧道|流媒体解锁_20]
05-09 16:03:15INFO
[TCP] 127.0.0.1:13517(firefox.exe) --> ocsp.digicert.com:80 match Match using 🐟 漏网之鱼[Twitter苏小柠|深港隧道|流媒体解锁_20]
05-09 16:03:15INFO
[TCP] 127.0.0.1:13499(firefox.exe) --> detectportal.firefox.com:80 match Match using 🐟 漏网之鱼[Twitter苏小柠|深港隧道|流媒体解锁_20]
05-09 16:03:15INFO
[TCP] 127.0.0.1:13496(firefox.exe) --> incoming.telemetry.mozilla.org:443 match Match using 🐟 漏网之鱼[Twitter苏小柠|深港隧道|流媒体解锁_20]
05-09 16:03:16INFO
[TCP] 127.0.0.1:13512(firefox.exe) --> r3.o.lencr.org:80 match Match using 🐟 漏网之鱼[Twitter苏小柠|深港隧道|流媒体解锁_20]
05-09 16:03:16INFO
[TCP] 127.0.0.1:13515(firefox.exe) --> ocsp.sectigo.com:80 match Match using 🐟 漏网之鱼[Twitter苏小柠|深港隧道|流媒体解锁_20]
05-09 16:03:16INFO
[TCP] 127.0.0.1:13489 --> contile.services.mozilla.com:443 match Match using 🐟 漏网之鱼[Twitter苏小柠|深港隧道|流媒体解锁_20]
05-09 16:03:16INFO
[TCP] 127.0.0.1:13486(firefox.exe) --> services.addons.mozilla.org:443 match Match using 🐟 漏网之鱼[Twitter苏小柠|深港隧道|流媒体解锁_20]
05-09 16:03:17INFO
[TCP] 127.0.0.1:13495(firefox.exe) --> profile.accounts.firefox.com:443 match Match using 🐟 漏网之鱼[Twitter苏小柠|深港隧道|流媒体解锁_20]
05-09 16:03:17INFO
[TCP] 127.0.0.1:13503(firefox.exe) --> api.accounts.firefox.com:443 match Match using 🐟 漏网之鱼[Twitter苏小柠|深港隧道|流媒体解锁_20]
05-09 16:03:17INFO
[TCP] 127.0.0.1:13529(firefox.exe) --> ocsp.digicert.com:80 match Match using 🐟 漏网之鱼[Twitter苏小柠|深港隧道|流媒体解锁_20]
05-09 16:03:17INFO
[TCP] 127.0.0.1:13534(firefox.exe) --> private-user-images.githubusercontent.com:443 match DomainKeyword(github) using 🚀 节点选择[Twitter苏小柠|深港隧道|流媒体解锁_20]
05-09 16:03:18INFO
[TCP] 127.0.0.1:13523(firefox.exe) --> push.services.mozilla.com:443 match Match using 🐟 漏网之鱼[Twitter苏小柠|深港隧道|流媒体解锁_20]
05-09 16:03:19INFO
[TCP] 127.0.0.1:13511(firefox.exe) --> api.accounts.firefox.com:443 match Match using 🐟 漏网之鱼[Twitter苏小柠|深港隧道|流媒体解锁_20]
05-09 16:03:19WARNING
[TCP] dial 🐟 漏网之鱼 (match Match/) 127.0.0.1:13508(firefox.exe) --> token.services.mozilla.com:443 error: 193.123.239.18:49248 connect error: context deadline exceeded
05-09 16:03:19INFO
[TCP] 127.0.0.1:13519(firefox.exe) --> ocsp.digicert.com:80 match Match using 🐟 漏网之鱼[Twitter苏小柠|深港隧道|流媒体解锁_20]
05-09 16:03:19INFO
[TCP] 127.0.0.1:13538(firefox.exe) --> github.githubassets.com:443 match DomainKeyword(github) using 🚀 节点选择[Twitter苏小柠|深港隧道|流媒体解锁_20]

@xueweiwujxw
Copy link

ubuntu 也存在同样的问题,strace看到存在大量的poll系统调用

❯ sudo strace -c -p $(pidof WebKitWebProcess )
strace: Process 61846 attached
^Cstrace: Process 61846 detached
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 93.31    0.054679          40      1334           poll
  5.83    0.003415           9       375           write
  0.44    0.000260           0       421        42 futex
  0.28    0.000162           0       752       751 recvmsg
  0.13    0.000075           0        90           madvise
  0.02    0.000011           0       176           read
  0.00    0.000000           0         3           pread64
  0.00    0.000000           0        75           sched_yield
  0.00    0.000000           0         1           restart_syscall
------ ----------- ----------- --------- --------- ----------------
100.00    0.058602                  3227       793 total

❯ sudo strace -c -p $(pidof clash-verge ) 
strace: Process 3384 attached
^Cstrace: Process 3384 detached
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
  0.00    0.000000           0         7           read
  0.00    0.000000           0         2           write
  0.00    0.000000           0       218           poll
  0.00    0.000000           0        81           writev
  0.00    0.000000           0       385       303 recvmsg
  0.00    0.000000           0         1           restart_syscall
------ ----------- ----------- --------- --------- ----------------
100.00    0.000000                   694       303 total

看样子像是webkit的问题

@CtrlAltDelet
Copy link

image
风扇狂转起飞了

@liuchao1899
Copy link
Author

我现在的解解决办法是用最新版本的clash 然后把内核文件换成1.81, 目前看来貌似没啥问题了.

@liuchao1899
Copy link
Author

图片

@liuchao1899
Copy link
Author

liuchao1899 commented May 16, 2024 via email

@EricBZH
Copy link

EricBZH commented May 24, 2024

用了楼上的方法好像正常了~

我现在的解解决办法是用最新版本的clash 然后把内核文件换成1.81, 目前看来貌似没啥问题了.

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

4 participants