Serverless Postgres does not wake
aalekhgupta93
FREEOP

17 days ago

Hi,

My Postgres service shows as “Sleeping” in the dashboard and does not wake up even after multiple retries.

Exact some issue is reported in: https://station.railway.com/questions/postgres-stays-sleeping-backend-can-t-9fbd6152 and the accepted solution asks to rebuild the db.

As of the recent Railway changes, I cannot currently redeploy during peak hours of 8 am - 8 pm Asia/Singapore time.

Can anybody suggest how I can re-live the service without redeploy?

It feels like the only solution to this problem has been closed by Railway.

Solved$10 Bounty

Pinned Solution

There isn't anything else to say... The bot said everything.

If traffic can't wake your service, then you'd need to wait until you're outside of peak hours, and then you'll be able to redeploy the service.

9 Replies

Railway
BOT

17 days ago

Your Postgres service is currently in SLEEPING status. The serverless docs note that slept services are de-prioritized and in rare cases may require a rebuild to come back online. You can try a restart (not a redeploy) from the deployment's 3-dot menu in the dashboard or via railway restart in the CLI, as restarts reuse the existing image without triggering a new build. If a full redeploy is needed, the Free plan peak-hours restriction (08:00-20:00 SGT for Southeast Asia) only blocks during those hours, so you can redeploy outside that window.


Status changed to Awaiting User Response Railway 17 days ago


Railway

Your Postgres service is currently in SLEEPING status. The [serverless docs](https://docs.railway.com/deployments/serverless) note that slept services are de-prioritized and in rare cases may require a rebuild to come back online. You can try a **restart** (not a redeploy) from the deployment's 3-dot menu in the dashboard or via `railway restart` in the CLI, as restarts reuse the existing image without triggering a new build. If a full redeploy is needed, the Free plan peak-hours restriction (08:00-20:00 SGT for Southeast Asia) only blocks during those hours, so you can redeploy outside that window.

aalekhgupta93
FREEOP

17 days ago

I do not see a railway restart command in the CLI and neither does restart show up on the deployment's 3-dot menu


Status changed to Awaiting Railway Response Railway 17 days ago


Railway
BOT

17 days ago

The restart option isn't available for sleeping deployments since the container is already stopped, so that suggestion was incorrect. When a serverless service won't wake from traffic, a redeploy is the required fix. On the Free plan, you can redeploy outside peak hours (before 08:00 or after 20:00 SGT), or upgrade to the Hobby plan to remove the restriction entirely.


Status changed to Awaiting User Response Railway 17 days ago


Railway

The restart option isn't available for sleeping deployments since the container is already stopped, so that suggestion was incorrect. When a serverless service won't wake from traffic, a redeploy is the required fix. On the Free plan, you can redeploy outside peak hours (before 08:00 or after 20:00 SGT), or upgrade to the Hobby plan to remove the restriction entirely.

aalekhgupta93
FREEOP

17 days ago

I understand but there should be some way to allow waking a sleeping service if Railway itself has de-prioritized it.


Status changed to Awaiting Railway Response Railway 17 days ago


Railway
BOT

17 days ago

There is currently no way to force-wake a serverless service that has stopped responding to traffic other than a redeploy. On the Free plan, you can redeploy outside peak hours (before 08:00 or after 20:00 SGT), or upgrade to the Hobby plan to remove the restriction entirely.


Status changed to Awaiting User Response Railway 17 days ago


Railway

There is currently no way to force-wake a serverless service that has stopped responding to traffic other than a redeploy. On the Free plan, you can redeploy outside peak hours (before 08:00 or after 20:00 SGT), or upgrade to the [Hobby plan](https://railway.com/pricing) to remove the restriction entirely.

aalekhgupta93
FREEOP

17 days ago

Looking for any user or Railway staff response


Status changed to Awaiting Railway Response Railway 17 days ago


Railway
BOT

17 days ago

This thread has been opened as a public bounty so the community can help solve it. The thread and any further activity are now visible to everyone.

Status changed to Open Railway 17 days ago


aalekhgupta93

Looking for any user or Railway staff response

There isn't anything else to say... The bot said everything.

If traffic can't wake your service, then you'd need to wait until you're outside of peak hours, and then you'll be able to redeploy the service.


Status changed to Solved brody 17 days ago


0x5b62656e5d

There isn't anything else to say... The bot said everything. If traffic can't wake your service, then you'd need to wait until you're outside of peak hours, and then you'll be able to redeploy the service.

aalekhgupta93
FREEOP

16 days ago

Is it possible to get a one time allowance to switch my region to something that has reduced overlap during my daytime?


Status changed to Awaiting Conductor Response Railway 16 days ago


Unfortunately, no, because if the Team did this for you, then the Team would need to do it for others.


Status changed to Awaiting User Response Railway 15 days ago


Railway
BOT

8 days 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 8 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...