Skip to main content

Troubleshooting

You can find here guidance for resolving issues that may arise during the setup or use of your app. We offer solutions for fixing problems to ensure smooth app and database operation.

Containers Restarting

A container restart may indicate memory overuse, abnormal CPU usage, or unexpected application termination.

Investigate your app's memory and CPU usage via Grafana dashboards, accessible from the App Env page header in the Metrics dropdown, can also help in this process.

dashboards-dropdown.png

Common Exit Errors

Exit Error Code 137 - Immediate termination (SIGKILL)

Out-of-memory errors are the most common root cause for this error. If this occurs, inspect the "App Envs" Grafana dashboard for this app environment. If memory usage approaches or exceeds limits, increase your zClouds and apply the changes.

Verify changes by checking the "App Envs" Grafana dashboard to monitor memory usage and confirm container restarts have ceased.

All Errors

The table below helps diagnose application errors by explaining what certain error codes imply.

CodeNameWhat it means
0Purposely stoppedUsed by developers to indicate that the container was automatically stopped
1Application errorContainer was stopped due to application error or incorrect reference in the image spec
125Container failed to run errorThe docker run command did not execute successfully
126Command invoke errorA command specified in the image specification could not be invoked
127File or directory not foundFile or directory specified in the image specification was not found
128Invalid argument used on exitExit was triggered with an invalid exit code (valid codes are integers between 0-255)
134Abnormal termination (SIGABRT)The container aborted itself using the abort() function.
137Immediate termination (SIGKILL)Container was immediately terminated by the operating system via SIGKILL signal. It may also be related to Out Of Memory (OOM) condition
139Segmentation fault (SIGSEGV)Container attempted to access memory that was not assigned to it and was terminated
143Graceful termination (SIGTERM)Container received warning that it was about to be terminated, then terminated
255Exit Status Out Of RangeContainer exited, returning an exit code outside the acceptable range, meaning the cause of the error is not known