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

使用jar的方式启动,没有设置jvm的启动参数,过几天就会自动停掉,日志也不打印报错的原因 #7054

Open
4 tasks done
zhaobiqing opened this issue Nov 20, 2024 · 1 comment
Labels
triage/needs-information Indicates an issue needs more information in order to work on it.

Comments

@zhaobiqing
Copy link

前置条件

  • 已经在 issues 列表中搜索了相关问题。
  • 这是 Halo 项目本身存在的问题,如果是非项目本身的问题(如:安装部署问题),建议在 Discussions 提交。
  • 已经尝试过停用所有的插件,排除是插件导致的问题。
  • 如果是插件和主题的问题,请在对应的插件和主题仓库提交。

系统信息

使用的哪种方式运行?

Fat Jar

发生了什么?

使用这个方式 nohup java -Dfile.encoding=UTF-8 -jar halo-2.20.0.jar --spring.config.additional-location=optional:file:$HOME/.halo2/ >/blog/dulucy.log 2>&1 &
之前是使用docker安装的2.17版本,后来升级后改用jar
隔几天就会自动停止

复现步骤

No response

相关日志输出

附加信息

No response

@JohnNiang
Copy link
Member

Hi @zhaobiqing, thank you for reaching out here!

  1. 建议提供一下 Halo 停止后的完整日志。
  2. 建议提供一下服务器的配置情况。
  3. 建议检查一下操作系统的 dmsg 日志。
  4. 建议检查一下服务器的监控。
    /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 Nov 20, 2024
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

2 participants