1Panel-dev / 1Panel-dev/1Panel

[Bug] Page freeze when index directory contains too many log files

Open
#12,064 2 comments 0 reactions 2 assignees View on GitHub

@lan-yonghui is already working on this.

Since Mar 20, 2026.

type: optimization
Dominant language
Go
Stars
37k
Forks
3.4k
Avg merge
9h 16m
Merged PRs (30d)
105

Description

Contact Information

No response

1Panel Version

v2.1.2-beta.1

Problem Description

在文件管理功能中我点开某个文件夹 文件夹里面的文件数量非常非常多 多到执行 rm-rf tmp-* 删除文件都会报错 只能使用find +delete删除 当点开这个文件夹的时候 cpu会跑满 页面相对于的卡死了 最恐怖的地方是我开启了防篡改功能 导致关闭防篡改会超时 报错 庆幸的事使用强制关闭的时候吧这些文件给关了

Steps to Reproduce

我建议是不是可以对文件浏览超过多少后后端分页读取 而不是一次性读取出来

The expected correct result

No response

Related log output

Additional Information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.