alexhua / Aria2-Explorer

An aria2 download task management extension for chromium based browser
https://www.aria2e.com/
BSD 3-Clause "New" or "Revised" License
820 stars 67 forks source link

Monitoring aria2 status leads to high CPU usage #63

Closed diyijing closed 3 years ago

diyijing commented 3 years ago

Describe the bug A clear and concise description of what the bug is. 查看日志发现一直在处理 chrome 的请求 header中 Origin: chrome-extension://mpkodccbngfoacfalldjimigbofkhgjn 判断来自该扩展,实测取消勾选后cpu占用恢复正常

aria2c --log - --enable-rpc --rpc-secret xxxxx 

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem. image image

Desktop (please complete the following information):

alexhua commented 3 years ago

在Windows平台试了一下,密码设置不正确时aria2的CPU占用确实会升高,10%左右,Mac上42%确实偏高。 监测aria2状态本身没有多少操作,只是一个简单的网络请求,应该是Aria2本身的问题。

两点建议:

  1. 在选项页把密码改对了
  2. 给aria2c项目提issue
alexhua commented 4 months ago

好了,这个坑算是填上了。