在阿里云 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="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 错误)