Question about how to properly end a railway deployment.

I have a nodejs runtime that is running as a deployment, but after it finishes executing the deployment is still active. It is also still using memory i think. Is there a good way to make sure its not running? Logs say "container event container died" but i want to make sure its not charging me.
No description
No description
Solution:
a surefire way to know would be to look for a container event log -
container event container died
container event container died
...
Jump to solution
8 Replies
Percy
Percy3mo ago
Project ID: 808d69ee-f688-4ec9-b90d-0be6af1aa4a0
celebrations
celebrations3mo ago
808d69ee-f688-4ec9-b90d-0be6af1aa4a0
Brody
Brody3mo ago
that deployment is not a cron job, thats a regular deployment
celebrations
celebrations3mo ago
good catch. Is it safe to say that its stopped and no longer using resources?
Brody
Brody3mo ago
nope, you can not trust the state as listed on the deployment, for example, it says completed, but its still handling requests - https://utilities.up.railway.app
No description
Solution
Brody
Brody3mo ago
a surefire way to know would be to look for a container event log -
container event container died
container event container died
celebrations
celebrations3mo ago
gotcha preciate it
Brody
Brody3mo ago
no problem!
Want results from more Discord servers?
Add your server