Apps not sleeping
peebles
HOBBYOP

a year ago

I have a web app, and a mongodb, both marked for sleeping in the settings. I am sure that at some point they were sleeping, clearing indicated in the dashboard. But they are not now, and looking at the metrics for the web app, network in and out show 0B for the last hour. Last logs were from yesterday, the last time I actually hit the web app. What am I doing wrong?

Solved

1 Replies

parmstar
EMPLOYEE

a year ago

Hi,

Have you looked at the docs to ensure you meet all the criteria for app sleeping?

https://docs.railway.com/reference/app-sleeping

It's important to note that the networking graph in the metrics tab only displays public internet traffic. If you're using a private network to communicate with other services, this traffic won't appear in the metrics tab. However, it's still counted as outbound traffic and will prevent the service from being put to sleep.

This would be a good first port of call.


Status changed to Awaiting User Response Railway 12 months ago


Railway
BOT

5 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 6 months ago


Loading...