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

挂载本机存储,并启用缩略图情况下,快速浏览大量图片,主进程被OOM-Killer退出 #1837

Closed
4 tasks done
wolonggl opened this issue Sep 28, 2022 · 2 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@wolonggl
Copy link

Please make sure of the following things

  • I have read the documentation.
  • I'm sure there are no duplicate issues or discussions.
  • I'm sure it's due to alist and not something else(such as Dependencies or Operational).
  • I'm sure I'm using the latest version

Alist Version / Alist 版本

v3.0.3

Driver used / 使用的存储驱动

本机存储

Describe the bug / 问题描述

系统:Ubuntu 22.04 i3-10100t 32G
挂载本机存储,并启用缩略图情况下,快速浏览大量图片,从htop观察来看,alist创建大量线程用于生成缩略图,内存占用和cpu占用暴涨,浏览一段时间后,alist主进程由于内存暴涨原因和占满系统内存和swap内存,触发系统内核oom-killer机制造成主进程被kill;

PS: 建议,增加缩略图缓存机制,来回切换浏览不同目录的图片时,不会重复生成缩略图,减少cpu和内存占用;

Reproduction / 复现链接

Logs / 日志

No response

@wolonggl wolonggl added the bug Something isn't working label Sep 28, 2022
@xhofe
Copy link
Collaborator

xhofe commented Sep 28, 2022

duplicate with #1784

@xhofe xhofe added the duplicate This issue or pull request already exists label Sep 28, 2022
@github-actions
Copy link

Hello @wolonggl, your issue is a duplicate and will be closed.
你好 @wolonggl,你的issue是重复的,将被关闭。

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants