SAP Knowledge Base Article - Preview

3233150 - Update via HDBLCM or "xs install" fails with 503 error

Symptom

Use HDBLCM or "xs install" to update/install/upgrade, however it ends with 503 error. Could see following kind of log:

hdblcm.log:
----------------
12:47:17.098 - INFO:       Output line 16: ERR    Exception: Status code: 503 Description: <html><head><title>Application Server Error</title><style>
----------------

xs_install_components.log:
----------------
8/2/22 12:47:36.764 PM [API] OUT Cleared instance [state CRASHED, index 0] of droplet [id <x>] of app 'product-installer' [Org '<orgname>', Space 'SAP'] at [<hostname>:<port>, pid <process id>].

8/2/22 12:47:36.770 PM [API] ERR Number of running instances for app 'product-installer' [Org '<orgname>', Space 'SAP'] is 0 but should be 1. Trying to adapt number of running instances...
8/2/22 12:47:36.981 PM [API] OUT Starting instance [state STARTING, index 0] of droplet [id <x>] of app 'product-installer' [Org '<orgname>', Space 'SAP'] at [<hostname>:<port>].
......
8/2/22 1:00:24.724 PM [APP/7-1] ERR java.lang.OutOfMemoryError: Java heap space
8/2/22 1:00:24.725 PM [APP/7-1] ERR Dumping heap to java_pid<process id>.hprof ...
8/2/22 1:00:25.648 PM [APP/7-1] ERR Heap dump file created [<xxx> bytes in 0.923 secs]
8/2/22 1:00:25.651 PM [APP/7-1] ERR #
8/2/22 1:00:25.651 PM [APP/7-1] ERR # java.lang.OutOfMemoryError: Java heap space
8/2/22 1:00:25.651 PM [APP/7-1] ERR # -XX:OnOutOfMemoryError="META-INF/.sap_java_buildpack/sapjvm/bin/killjava.sh"
8/2/22 1:00:25.651 PM [APP/7-1] ERR # Executing /bin/sh -c "META-INF/.sap_java_buildpack/sapjvm/bin/killjava.sh"...
8/2/22 1:00:25.682 PM [APP/7-1] ERR Stopping VM due to OutOfMemoryError
8/2/22 1:00:25.684 PM [APP/7-1] OUT #
8/2/22 1:00:25.684 PM [APP/7-1] OUT # A fatal error has been detected by the SAP Java Virtual Machine:
8/2/22 1:00:25.684 PM [APP/7-1] OUT #
8/2/22 1:00:25.684 PM [APP/7-1] OUT # Internal Error (debug.cpp:436), pid=<process id>, tid=<thread id>
8/2/22 1:00:25.684 PM [APP/7-1] OUT # fatal error: OutOfMemory encountered: Java heap space
......
8/2/22 1:00:25.694 PM [APP/7-1] OUT # An error report with more information is generated,
8/2/22 1:00:25.698 PM [APP/7-1] OUT # it is saved as a file at this location:
8/2/22 1:00:25.698 PM [APP/7-1] OUT # /hana/shared/<SID>/xs/app_working/<hostname>/executionroot/<xxx>/app/hs_err_pid<process id>.log
----------------


Read more...

Environment

  • SAP HANA Extended Application Services, Advanced Model - XSA

Product

SAP HANA, platform edition all versions

Keywords

Validation starts, 503 Service Not Available, No server available, Will retry after 10 seconds, , KBA , BC-XS-RT , OP Runtime / XS Controller , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.