Zum Inhalt springen

Monitor and troubleshoot

Zuletzt aktualisiert am

Diagram

Deploying or updating moves an application to Processing.

From Processing it becomes Running when an instance starts, or Failed when it cannot start.

With a minimum of 0 instances, a Running application without load becomes Idle. The next request or event from a scaling rule makes it Running again.

Fixing the configuration of a Failed application moves it back to Processing.

Running means an instance has started, not that your application answers correctly. After every change, check the URL and the logs.

Open the application and select Logs.

Screenshot name application input field

  • Live logs stream what your containers write to standard output and standard error, as it happens.
  • Previous instance shows the logs of the instance that ran before the current one. Use it when an instance crashed and was replaced.

Most problems that show Running while requests fail can be reproduced on your own machine. Run the image with the same port and memory as in STACKIT Container Applications (SCA):

terminal 1
docker run --rm -p 8080:8080 --memory=512m registry.example.com/team/app:1.4.2

Then send a request to it:

terminal 2
curl -I http://localhost:8080

If this request fails, fix the image before you deploy it. Common causes are a different port, or an application that listens only on 127.0.0.1 instead of 0.0.0.0. If the container stops with an out-of-memory error, choose a larger size.

If a problem persists, create a support ticket and include the application ID.