在阿里云 ECS 上试图安装 SAP Commerce Cloud 的 137 错误
45分鐘的時候就卡死了:
14:23分
雖然 putty 登錄不上了,但是控制臺里看到 CPU 占用率還是超過 20%:
并且云盤的讀寫次數和讀寫速度都居高不下:
https://help.sap.com/viewer/a74589c3a81a4a95bf51d87258c0ab15/2105/en-US/8c6b9a8186691014bd8dd9635cabfaff.html
608
807
BUILD FAILED
/root/jerry/hybris/bin/platform/build.xml:106: The following error occurred while executing this line:
/root/jerry/hybris/bin/platform/resources/ant/antmacros.xml:807: The following error occurred while executing this line:
/root/jerry/hybris/bin/platform/resources/ant/platformadministration.xml:37: The following error occurred while executing this line:
/root/jerry/hybris/bin/platform/resources/ant/antmacros.xml:673: Java returned: 137
Total time: 83 minutes 12 seconds
Task :recipes:cx-for-spa:initialize FAILED
FAILURE: Build failed with an exception.
-
Where:
Build file ‘/root/jerry/installer/recipes/cx-for-spa/build.gradle’ line: 608 -
What went wrong:
Execution failed for task ‘:recipes:cx-for-spa:initialize’.
external process returned non-zero exit code, command: [sh, -c, export PLATFORM_HOME="/root/jerry/hybris/bin/platform" && export ANT_OPTS="-Xmx1024m -Dfile.encoding=UTF-8" && export ANT_HOME="/root/jerry/hybris/bin/platform/apache-ant" && chmod +x “/root/jerry/hybris/bin/platform/apache-ant/bin/ant” && export PATH=“ANTHOME/bin:ANT_HOME/bin:ANTH?OME/bin:PATH” && ant initialize]
-
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. -
Get more help at https://help.gradle.org
BUILD FAILED in 1h 39m 10s
4 actionable tasks: 4 executed
Problem with java process - finished with non-zero exit code (1)
137 代表 out of memory, 不是 JVM 發生了 OOO,而是 Application container memory 超過了上限。
更多Jerry的原創文章,盡在:“汪子熙”:
總結
以上是生活随笔為你收集整理的在阿里云 ECS 上试图安装 SAP Commerce Cloud 的 137 错误的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 怎么解除骗贷风险
- 下一篇: SAP 电商云 Spartacus UI