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

备份还原,内存溢出 #5326

Open
Alfy-P opened this issue Feb 4, 2024 · 9 comments
Open

备份还原,内存溢出 #5326

Alfy-P opened this issue Feb 4, 2024 · 9 comments
Labels
triage/needs-information Indicates an issue needs more information in order to work on it.

Comments

@Alfy-P
Copy link

Alfy-P commented Feb 4, 2024

系统信息

备份包大于70M溢出时。还原备份包导致系统奔溃,查询日志后发现内存溢出。关键奔溃后需要重新搭建系统,无法还原上个版本。
image
image

使用的哪种方式运行?

Docker-compose

在线站点地址

http://www.alfyxz.com/

发生了什么?

系统无法还原备份包

相关日志输出

image
image

附加信息

暂无

@JohnNiang
Copy link
Member

Hi @Alfy-P ,建议提供一份完整的日志文件,不要提供片段。

/triage needs-information

@f2c-ci-robot f2c-ci-robot bot added the triage/needs-information Indicates an issue needs more information in order to work on it. label Feb 5, 2024
@glucyzz
Copy link

glucyzz commented Feb 25, 2024

+1 我也是出现这种情况还被服务商停了我的服务器。。。

@glucyzz
Copy link

glucyzz commented Feb 25, 2024

image
和完整的docker容器日志
halo_logs.txt
希望能早点解决下

@JohnNiang
Copy link
Member

Hi @glucyzz ,从 #5326 (comment) 提供的日志看,并没有看到备份失败的任何错误。

建议重新尝试恢复备份操作,并抓取完整日志。

@glucyzz
Copy link

glucyzz commented Feb 25, 2024

不是说备份失败,而是备份还原成功后,疯狂占用cpu,不知道后台Java为什么能占有率那么高。因为这个是重新安装的系统。就只安装了halo的docker项目以及哪吒探针。

@glucyzz
Copy link

glucyzz commented Feb 25, 2024

这个就是今天备份还原后录制的后台top的占用,只要我不停止运行halo的docker项目,我的cpu占用就要爆炸。。。并不是只有开启的这一小会高占用,而是只要开着备份还原的docker的halo就会这样

2024-02-25.234331.mp4

@JohnNiang
Copy link
Member

这个就是今天备份还原后录制的后台top的占用,只要我不停止运行halo的docker项目,我的cpu占用就要爆炸。。。并不是只有开启的这一小会高占用,而是只要开着备份还原的docker的halo就会这样

2024-02-25.234331.mp4

关于占用过高的问题,可能是因为在给新的数据构建索引,构建好后会降低消耗,建议用最新的 2.12.4 测试。不知道你的数据量具体有多大呢?除了附件。

@glucyzz
Copy link

glucyzz commented Feb 25, 2024

image
数据应该不是很大的,这是今天还原的大小

@glucyzz
Copy link

glucyzz commented Feb 25, 2024

image
尝试最新的 2.12.4 测试,50多篇文章是还原成功。
但后台top占用如下,halo使用的Java仍旧居高不下。
image
长达40多分钟不见占用下去,怕服务器又吃一封abuse决定还是先暂停docker 项目

2024-02-26.003756.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage/needs-information Indicates an issue needs more information in order to work on it.
Projects
None yet
Development

No branches or pull requests

3 participants