Java 应用程序 SAP Commerce / Hybris 无故关闭

问题描述

我遇到了一些奇怪的问题,我找不到任何原因或解决方案。

我运行了一个 SAP Hybris Java 应用程序,它在前端使用 Tomcat(不知道这是否重要)。在那里我开始了一个 cronjob 来导入东西。

在我的本地机器(macbook,32 GB RAM)上,cronjob 运行了大约一个小时并成功完成。但是在服务器(ubuntu,32 GB RAM)上需要 1 1/2 小时,服务器关闭的原因是:

STATUS | wrapper  | main    | 2021/03/12 15:26:13.032 | TERM trapped.  Shutting down.
INFO   | jvm 1    | main    | 2021/03/12 15:26:13.433 | shutting down hybris registry..

通过一点谷歌,我找到了这个德语页面https://wrapper.tanukisoftware.com/doc/german/qna-shutdown.html#term
它说 unix 系统关闭了应用程序。所以我去了系统日志,但没有告诉我关闭信号的原因:

Mar 12 14:17:01 TESTBESRV01 CRON[18148]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Mar 12 14:51:19 TESTBESRV01 systemd[1]: Started Session 596 of user test.
Mar 12 15:17:01 TESTBESRV01 CRON[18411]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Mar 12 15:24:30 TESTBESRV01 systemd[1]: Started Session 598 of user test.
Mar 12 15:27:24 TESTBESRV01 systemd[1]: Started Session 599 of user test.
Mar 12 15:27:25 TESTBESRV01 systemd[1]: Started Session 600 of user test.
Mar 12 15:27:25 TESTBESRV01 systemd[1]: Started Session 601 of user test.
Mar 12 15:27:28 TESTBESRV01 systemd[1]: Started Session 602 of user test.
Mar 12 15:27:29 TESTBESRV01 systemd[1]: Started Session 603 of user test.
Mar 12 15:27:35 TESTBESRV01 systemd[1]: Started Session 604 of user test.
Mar 12 15:27:36 TESTBESRV01 systemd[1]: Started Session 605 of user test.
Mar 12 15:28:09 TESTBESRV01 systemd[1]: Started Session 606 of user test.
Mar 12 15:28:10 TESTBESRV01 systemd[1]: Started Session 607 of user test.
Mar 12 15:28:12 TESTBESRV01 systemd[1]: Started Session 608 of user test.
Mar 12 15:28:13 TESTBESRV01 systemd[1]: Started Session 609 of user test.
Mar 12 15:28:19 TESTBESRV01 systemd[1]: Started Session 610 of user test.
Mar 12 15:28:20 TESTBESRV01 systemd[1]: Started Session 611 of user test.
Mar 12 15:28:53 TESTBESRV01 systemd[1]: Started Session 612 of user test.
Mar 12 15:42:57 TESTBESRV01 systemd[1]: Starting Daily apt download activities...
Mar 12 15:42:58 TESTBESRV01 systemd[1]: Started Daily apt download activities.

不幸的是,我无法回头查看剩余的 RAM,但我可以显示应用程序的完整关闭日志:https://pastebin.com/ZQhXnYsu(对于 stackoverflow 来说太长)

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)