New railway services not sleeping
talosdeus
HOBBYOP

22 days ago

Hello, it seems like my 3 new Railway services are not sleeping. I have enabled 'Serverless' on all of them. And plus there's one that has no db or other service attached, and no egress and ingress and no HTTP requests in the past 1 hr and still not sleeping. Attached image below for my project with no DB attached and no network inbound/outbound. Hopefully someone from Railway takes a look.

Attachments

Solved

3 Replies

21 days ago

After enabling serverless, you may need to redeploy from source for the setting to take effect - use the command palette (Ctrl/Cmd + K) and select "Deploy latest commit." Also note that sleep is triggered by the absence of outbound traffic for 10 minutes, and the networking graph only shows public traffic - private network activity and framework telemetry (like Next.js) still count as outbound traffic and will prevent sleeping.


Status changed to Awaiting User Response Railway 21 days ago


brody

After enabling serverless, you may need to redeploy from source for the setting to take effect - use the command palette (Ctrl/Cmd + K) and select "Deploy latest commit." Also note that sleep is triggered by the absence of outbound traffic for 10 minutes, and the networking graph only shows public traffic - private network activity and framework telemetry (like Next.js) still count as outbound traffic and will prevent sleeping.

talosdeus
HOBBYOP

21 days ago

No it's not sending telemetry anywhere. And as you can see no egress in the screenshot, I also tried to redeploy multiple times and tried to wait but it did not sleep. I will try it again today and tomorrow just in case that outage affected my service. But I don't know how to resolve this.


Status changed to Awaiting Railway Response Railway 21 days ago


brody

After enabling serverless, you may need to redeploy from source for the setting to take effect - use the command palette (Ctrl/Cmd + K) and select "Deploy latest commit." Also note that sleep is triggered by the absence of outbound traffic for 10 minutes, and the networking graph only shows public traffic - private network activity and framework telemetry (like Next.js) still count as outbound traffic and will prevent sleeping.

talosdeus
HOBBYOP

21 days ago

Hey I just checked again and it's sleeping now. So seems like it was related to the outage yesterday. Thanks for the reply. I will mark this thread as resolved.


Status changed to Solved talosdeus 21 days ago


Loading...