a month ago
Hi I could have projects including red-rose-backend-server have been switched to Serverless and are not being used at the moment. They do not go to sleep and I am still getting charged. Can you please advise? Thanks
10 Replies
a month 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!
a month ago
Hi there,
Serverless mode only scales down services when there is no traffic. I see ingress in the service, which is why it's staying up.
Best,
The Railway Team
Attachments
Status changed to Awaiting User Response Railway • 28 days ago
Status changed to Solved sarahkb125 • 28 days ago
a month ago
It looks you have attached a screenshot but it id not loading? Where can I check ingress in the service? Thanks
Status changed to Awaiting Railway Response Railway • 28 days ago
a month 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 • 27 days ago
alshyr
It looks you have attached a screenshot but it id not loading? Where can I check ingress in the service? Thanks
a month ago
Hey, you can check the metrics for your service by clicking on your service and navigating to the metrics tab.
If you want to debug further on who is making these requests, click on your service, select an active deployment (usually highlighted in green), and then click on HTTP logs. There, you can see all requests your application is receiving and identify who is making them.
19 days ago
Please see the screenshot attached. Also going to http logs show this - "No logs in this time range Logs will show up here as they are found."
Attachments
alshyr
Please see the screenshot attached. Also going to http logs show this - "No logs in this time range Logs will show up here as they are found."
19 days ago
You're receiving external traffic as previously mentioned. Regarding the HTTP logs, how old is your deployment? HTTP logs are deployment-specific, and if your deployment is recent, it may not contain all logs. Also, do you have any kind of TCP proxy attached to your service?
18 days ago
It's a few weeks old. It looks like there is something like a ping every 6 hours, but it should still go to sleep in between? Sorry, no TCP proxy attached to your service.
alshyr
It's a few weeks old. It looks like there is something like a ping every 6 hours, but it should still go to sleep in between? Sorry, no TCP proxy attached to your service.
18 days ago
Yeah, it should still go to sleep in between. What makes you think that it doesn't go to sleep?
17 days ago
In Architecture tab, that service node does not ever have "Sleeping since .. hours ago", while other do. Please see the screenshot attached again showing that for many hours there was no traffic in or out.
Attachments
alshyr
In Architecture tab, that service node does not ever have "Sleeping since .. hours ago", while other do. Please see the screenshot attached again showing that for many hours there was no traffic in or out.
17 days ago
There are many more reasons why your service wouldn't go to sleep. You can find a comprehensive list here: https://docs.railway.com/reference/app-sleeping#inactive-service-detection