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

bug: 处理日志文件占用过多的内存 #50

Closed
MirrorCY opened this issue Dec 3, 2022 · 2 comments
Closed

bug: 处理日志文件占用过多的内存 #50

MirrorCY opened this issue Dec 3, 2022 · 2 comments

Comments

@MirrorCY
Copy link
Member

MirrorCY commented Dec 3, 2022

由于某些插件未保持更新或存在问题,导致部分用户日志文件中存在大量报错信息。当日志文件过大(复现日志 30M),koishi 启动时会占用过量内存导致 OOM 报错并自动循环重启。

复现流程:

  • 运行 yarn create koishi 创建一个新的项目
  • 把日志填充至 50MB
  • 启动 koishi

UN~}14S(`R1UOTB~W7PI0E2

%5DTPV~3`YK _VRY 9U9KK5

@shigma
Copy link
Member

shigma commented Dec 3, 2022

已确认此问题,后续会解决。

@MirrorCY
Copy link
Member Author

MirrorCY commented Mar 8, 2023

临时解决方案,删除所有日志后重启 Koishi

@shigma shigma closed this as completed in 16a8395 Jun 13, 2023
CyanChanges pushed a commit to CyanForks/webui that referenced this issue Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants