Postgres crash loop: No space left on device during WAL recovery
itrecruteralex-a11y
HOBBYOP

3 months ago

My PostgreSQL is stuck in a crash loop with:

FATAL: could not write to file "pg_wal/xlogtemp.26": No space left on device

Please resize the filesystem for my postgres-volume. I cannot connect to clear the data manually.

Project: angelic-bravery

Solved

5 Replies

Status changed to Awaiting Railway Response Railway 3 months ago


itrecruteralex-a11y
HOBBYOP

3 months ago

Also, my volume ID is: postgres-volume (project: angelic-bravery). Please apply filesystem resize manually like you did for other users. The database has been down for over an hour.


3 months ago

Your volume is at full capacity (500MB used of 500MB). You can increase the volume size from the service settings in the dashboard, and we can then expand the filesystem to match if it doesn't take effect automatically.


Status changed to Awaiting User Response Railway 3 months ago


itrecruteralex-a11y
HOBBYOP

3 months ago

I resized the volume from 500MB to 1GB but Postgres is still crashing. Please apply the filesystem resize manually.


Status changed to Awaiting Railway Response Railway 3 months ago


sam-a
EMPLOYEE

3 months ago

Hi,

We've expanded the filesystem on your Postgres volume to match the 1GB size you set. The resize didn't fully apply to the underlying filesystem, so we've manually corrected it.

Your Postgres is back up and running.

If any of your other services (n8n, workers) are also in a crashed state, you'll need to redeploy those as well. They should connect normally after a fresh deploy.

Let us know if you run into any other issues\!


Status changed to Awaiting User Response Railway 3 months ago


itrecruteralex-a11y
HOBBYOP

3 months ago

Thank you! Everything is back online now. Really appreciate the quick help!


Status changed to Awaiting Railway Response Railway 3 months ago


Status changed to Solved jake 3 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...