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

alist有时候占用cpu很高 #7110

Open
4 tasks done
gdtv opened this issue Aug 29, 2024 · 4 comments
Open
4 tasks done

alist有时候占用cpu很高 #7110

gdtv opened this issue Aug 29, 2024 · 4 comments
Labels
bug Something isn't working stale No activity for more than 30 days

Comments

@gdtv
Copy link

gdtv commented Aug 29, 2024

Please make sure of the following things

  • I have read the documentation.
    我已经阅读了文档

  • I'm sure there are no duplicate issues or discussions.
    我确定没有重复的issue或讨论。

  • I'm sure it's due to AList and not something else(such as Network ,Dependencies or Operational).
    我确定是AList的问题,而不是其他原因(例如网络依赖操作)。

  • I'm sure this issue is not fixed in the latest version.
    我确定这个问题在最新版本中没有被修复。

AList Version / AList 版本

v3.36.0

Driver used / 使用的存储驱动

移动云盘,123云盘

系统

运行于hyper-v里的debian12虚拟机,cpu是7505,性能不会太差。

Describe the bug / 问题描述

简介:
在windows里打开有几百个视频的文件夹,等待缩略图加载的时候,容易没有反应,cpu占用百分之几百。


详情:

我的使用方案是:
移动云盘/123云盘 -> 挂载到alist -> 挂载为crypt加密存储 -> Raddrive挂载到windows

在windows里打开有几百个视频的使用crypt驱动的文件夹,等待缩略图加载的时候,容易没有反应,缩略图停止加载,所有文件打不开,网页UI里也打不开文件。

此时查看系统,发现alist进程占用百分之几百的cpu使用率。等待几十分钟仍然不会自动恢复。要重启alist进程才能恢复正常。

屏幕截图 2024-08-29 225622

尝试过将 config.json 里的 max_connections 设置为1,没有效果。

Reproduction / 复现链接

Config / 配置

{
  "force": false,
  "site_url": "",
  "cdn": "",
  "jwt_secret": "xxxxxxxxxxxxxxxxx",
  "token_expires_in": 48,
  "database": {
    "type": "sqlite3",
    "host": "",
    "port": 0,
    "user": "",
    "password": "",
    "name": "",
    "db_file": "data/data.db",
    "table_prefix": "x_",
    "ssl_mode": "",
    "dsn": ""
  },
  "meilisearch": {
    "host": "http://localhost:7700",
    "api_key": "",
    "index_prefix": ""
  },
  "scheme": {
    "address": "0.0.0.0",
    "http_port": 5244,
    "https_port": -1,
    "force_https": false,
    "cert_file": "",
    "key_file": "",
    "unix_file": "",
    "unix_file_perm": ""
  },
  "temp_dir": "/mnt/tmp/alist",
  "bleve_dir": "data/bleve",
  "dist_dir": "",
  "log": {
    "enable": true,
    "name": "data/log/log.log",
    "max_size": 50,
    "max_backups": 30,
    "max_age": 28,
    "compress": false
  },
  "delayed_start": 0,
  "max_connections": 1,
  "tls_insecure_skip_verify": true,
  "tasks": {
    "download": {
      "workers": 5,
      "max_retry": 1
    },
    "transfer": {
      "workers": 5,
      "max_retry": 2
    },
    "upload": {
      "workers": 5,
      "max_retry": 0
    },
    "copy": {
      "workers": 5,
      "max_retry": 2
    }
  },
  "cors": {
    "allow_origins": [
      "*"
    ],
    "allow_methods": [
      "*"
    ],
    "allow_headers": [
      "*"
    ]
  },
  "s3": {
    "enable": false,
    "port": 5246,
    "ssl": false
  }
}

1

2

3

Logs / 日志

No response

@gdtv gdtv added the bug Something isn't working label Aug 29, 2024
Copy link

welcome bot commented Aug 29, 2024

Thanks for opening your first issue here! Be sure to follow the issue template!

@pongfcnkl
Copy link

限制一下Raddrive的请求吧

@gdtv
Copy link
Author

gdtv commented Aug 30, 2024

Raddrive

Raddrive里面好像没有地方设置限制

Copy link

stale bot commented Oct 13, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale No activity for more than 30 days label Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale No activity for more than 30 days
Projects
None yet
Development

No branches or pull requests

2 participants