halo-dev / halo

强大易用的开源建站工具。
https://www.halo.run
GNU General Public License v3.0
33.31k stars 9.61k forks source link

容器部署错误 #3247

Closed khq007110 closed 1 year ago

khq007110 commented 1 year ago

What is version of Halo has the issue?

主干版本

What database are you using?

MySQL 5.7

What is your deployment method?

Docker

Your site address.

No response

What happened?

[root@localhost dockerimages]# docker logs 586b8b317521
[0.002s][warning][os,thread] Failed to start thread "GC Thread#0" - pthread_create failed (EPERM) for attributes: stacksize: 1024k, guardsize: 4k, detached.
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Cannot create worker GC thread. Out of system resources.
# An error report file with more information is saved as:
# /application/hs_err_pid7.log
[root@localhost dockerimages]# find / -name "hs_err_pid7.log"

Relevant log output

No response

Additional information

No response

JohnNiang commented 1 year ago

/kind support

日志中有提示到内存不足导致无法继续运行。建议提供一下服务器配置详情。

khq007110 commented 1 year ago

目前放在虚拟机跑 1675820967146 1675821028675

khq007110 commented 1 year ago

1675821300762

ruibaby commented 1 year ago

/triage duplicate

https://github.com/halo-dev/halo/issues/2503

khq007110 commented 1 year ago

升级了,还是不行

khq007110 commented 1 year ago

解决了,多谢 @ruibaby

/triage duplicate

2503