Container not running full time?
levinmedia
HOBBYOP

7 months ago

Hi there!

I’m experiencing an issue with my service on the Pro plan (spotalert):

  • I have Serverless disabled (OFF).

  • Minimum instance count is set to 1.

  • I am on a Pro plan.

  • After each redeploy, the new container starts, but then appears to shut down, even though I expect it to stay always-on.

  • When my app triggers a request, there is a long delay (2+ minutes) before my Python script runs, which feels like a cold start or scale-to-zero event.

  • I do not see “Starting Container” or “Stopping Container” logs except during deploys.

  • My expectation is that the container should remain running 24/7 and respond instantly to requests, with no cold starts.

Can you please confirm that my settings are correct and that my service should remain always-on? If so, can you help me diagnose why the container is shutting down or not staying warm after redeploys?

Let me know if you need any more details about my project or configuration.

When I run this on my machine locally, it takes ~29 seconds to fetch the data, but it's many many minutes here. Any help you can provide here would be great!

Thanks!

David

Solved$10 Bounty

4 Replies

Railway
BOT

7 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


levinmedia
HOBBYOP

7 months ago

Sorry, that doesn't solve my issue slightly_smiling_face emoji


7 months ago

Hello,

Looks like you are downloading a modal for every request, you should only download the modal once, and save it to the volume for future use.

Either way, I can confirm our platform is not putting your container to sleep.

I will open this up to the community so they can help you debug your application-level issues.

Best,
Brody


Status changed to Awaiting User Response Railway 7 months ago


7 months ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open brody 7 months ago


levinmedia
HOBBYOP

7 months ago

Thanks @broady!


Status changed to Solved levinmedia 7 months ago


Loading...