Changes for page Runtime Overview Exit codes
Last modified by Carlijn Kokkeler on 2024/09/17 15:13
From version 12.1
edited by Tudor Neacsu
on 2024/06/21 09:41
on 2024/06/21 09:41
Change comment:
There is no comment for this version
To version 1.1
edited by Eva Torken
on 2024/03/22 12:00
on 2024/03/22 12:00
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - RuntimeOverviewExit codes1 +No data delivered to backend system - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. TudorNeacsu1 +XWiki.etorken - Content
-
... ... @@ -1,36 +1,32 @@ 1 1 {{container}}{{container layoutStyle="columns"}}((( 2 -In this microlearning, we willgiveinsightsintowhatis anexit code,themain exitcodesreturnedbyacontainerwhenitstopsandhow canthat helpa SupportEngineertoconductan RCA.2 +In this document, we will use the information from the actual root cause analysis to make a generic view that can be used if you run into the same or a similar problem in the future. Finally, the document will describe the situation, the problem, the analysis, and the result. 3 3 4 4 Should you have any questions, please get in touch with [[academy@emagiz.com>>mailto:academy@emagiz.com]]. 5 5 6 -== 1. Key concepts==6 +== 1. Situation == 7 7 8 - Inaprevious[[microlearning>>https://docs.emagiz.com/bin/view/Main/eMagiz%20Academy/Microlearnings/Crash%20Course/Crash%20Course%20Platform/Runtime%20Overview||target="blank"]] we explained that a containercanhavemultiple statuses. Among these, thereis the status Exitwhich is returned by the container uppon stopping and comes together with a code. The exit code usually points out the reason why thecontainer stopped. In the sectionbelow we go into more details for the most common exit codes that you could see in eMagiz.8 +No data is delivered to a Mendix application. 9 9 10 - [[image:Main.Images.RCA-Knowledgebase.WebHome@rca-knowledgebase-runtime-overview-exit-codes.png]]10 +== 2. Problem == 11 11 12 - ==2.Exit codevalues==12 +The problem in this case was expected to be related to the old build numbers of the model. 13 13 14 - *Exitedwith code **0**: The applicationinside the container completed its work successfullywithout any errors.14 +== 3. Analysis == 15 15 16 - *Exited with code **1**:There was a general error in the application, which couldbe due to a variety of reasons like incorrectarguments or a failed dependency. For example whenyou are missing a property value.16 +=== 3.1 Reproduction === 17 17 18 - * Exited with code **125**: The docker run command was not executed successfully. This usually occurs when eMagiz fails to execute a certain command on that container, e.g. Start, Stop.18 +N/A 19 19 20 - *Exited with code **126**:The command inside the container was found but cannot be executed. This can be due to permission issues or if the command is not executable. This can happen especiallywhen eMagiz isrunning on premisesand the permissions are incorrectly configured.20 +=== 3.2 Analysis === 21 21 22 - *Exitedwithcode**127**:Thecommandwasnotfound. Thisusuallyhappensifa script ismissingor the pathis notset correctly.22 +The problem led us to investigate the health of the JMS and the eMagiz Mendix connector. The JMS was restarted due to the amount of 'client connection failed' warnings that were received. Due to the problem being a Mendix application which was not receiving data, the eMagiz Mendix connector was also restarted. Afterwards, everything worked fine again. 23 23 24 - *Exited with code **137**: The container was forcefully stopped.This happenswhen the container exceeds its memory resourcelimit(OOM).24 +== 4. Result == 25 25 26 -* Exited with code **139**: The application inside the container crashed due to a segmentation fault, which is usually caused by accessing memory that the process does not have permission to access. 27 - 28 -* Exited with code **143**: The container stopped gracefully terminated after receiving the operating system's SIGTERM signal, which instructs the container to do so. For example, when you command the container to stop via Deploy Architecture or when eMagiz stops the container, e.g. Stop Machine deployment step. 29 - 30 -* Exited with code **255**: Container exited, returning an exit code outside the acceptable range, meaning the cause of the error is not known. 26 +The old build numbers used in the model are expected to have an influence on the performance of the eMagiz Mendix connector. We recommend to upgrade these build numbers or to migrate to the current-generation runtime. 31 31 32 - 33 33 == 5. Suggested Additional Readings == 29 +N/A 34 34 35 35 36 36 )))((({{toc/}}))){{/container}}{{/container}}