Changes for page Runtime Overview Exit codes
Last modified by Carlijn Kokkeler on 2024/09/17 15:13
From version 18.1
edited by Tudor Neacsu
on 2024/06/21 15:54
on 2024/06/21 15:54
Change comment:
There is no comment for this version
To version 13.1
edited by Tudor Neacsu
on 2024/06/21 09:43
on 2024/06/21 09:43
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,11 +1,11 @@ 1 1 {{container}}{{container layoutStyle="columns"}}((( 2 -In this document, we will use the information from the actualroot cause analysis to makegeneric view that canbe usedif you runinto thesame or a similar problemin thefuture. The focus will be onproviding insights into what is an exit code, the main exit codes returned by a container when it stops and how can that helpyoutosolveyourproblem.2 +In this microlearning, we will give insights into what is an exit code, the main exit codes returned by a container when it stops and how can that help a Support Engineer to conduct an RCA. 3 3 4 4 Should you have any questions, please get in touch with [[academy@emagiz.com>>mailto:academy@emagiz.com]]. 5 5 6 6 == 1. Key concepts == 7 7 8 -In a previous [[microlearning>>doc :Main.eMagiz.Microlearnings.Crash.Crash.Runtimecribethe most common exit codes that you can encounterin eMagiz.8 + In a previous [[microlearning>>https://docs.emagiz.com/bin/view/Main/eMagiz%20Academy/Microlearnings/Crash%20Course/Crash%20Course%20Platform/Runtime%20Overview||target="blank"]] we explained that a container can have multiple statuses. Among these, there is the status Exit which is returned by the container uppon stopping and comes together with a code. The exit code usually points out the reason why the container stopped. In the section below we go into more details for the most common exit codes that you could see in eMagiz. 9 9 10 10 [[image:Main.Images.RCA-Knowledgebase.WebHome@rca-knowledgebase-runtime-overview-exit-codes.png]] 11 11 ... ... @@ -12,38 +12,39 @@ 12 12 == 2. Exit code values == 13 13 14 14 * Exited with code **0** 15 -** 15 +**The application inside the container completed its work successfully without any errors. 16 16 17 17 * Exited with code **1** 18 -** 19 -** 18 +**There was a general error in the application, which could be due to a variety of reasons like incorrect arguments or a failed dependency. 19 +**For example when you are missing a property value. 20 20 21 21 * Exited with code **125** 22 -** 23 -** 22 +**The docker run command was not executed successfully. 23 +**This usually occurs when eMagiz fails to execute a certain command on that container, e.g. Start, Stop. 24 24 25 25 * Exited with code **126** 26 -** 27 -** 26 +**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. 27 +**For example, when eMagiz is running on premises and the permissions are incorrectly configured. 28 28 29 29 * Exited with code **127** 30 -** 30 +**The command was not found. This usually happens if a script is missing or the path is not set correctly. 31 31 32 32 * Exited with code **137** 33 -** 34 -** 33 +**The container was forcefully stopped 34 +**This happens when the container exceeds its memory resource limit (OOM). 35 35 36 36 * Exited with code **139** 37 -** 37 +**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. 38 38 39 39 * Exited with code **143** 40 -** 41 -** 40 +**The container stopped gracefully terminated after receiving the operating system's SIGTERM signal, which instructs the container to do so. 41 +**For example, when you command the container to stop via Deploy Architecture or when eMagiz stops the container, e.g. Stop Machine deployment step. 42 42 43 43 * Exited with code **255** 44 -** 44 +**Container exited, returning an exit code outside the acceptable range, meaning the cause of the error is not known. 45 45 46 46 47 +== 5. Suggested Additional Readings == 47 47 48 48 49 49 )))((({{toc/}}))){{/container}}{{/container}}