1Panel-dev / 1Panel-dev/1Panel
[Bug] Page freeze when index directory contains too many log files
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.