Skip to content
Postgres volume 100% full: offline resize to 5 GB didn't complete, production DB down
filtaircb
OP

10 minutes ago

Our production Postgres is down and we need help resizing its volume. Our app's data is on it and we have no backup, so please don't do anything that would remove or recreate the volume.

What happened

On 3 Dec 2026 at 22:01 UTC the volume filled up during a large write, and Postgres crashed:

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

...

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

LOG: shutting down due to startup process failure

LOG: database system is shut down

In the dashboard I started a volume resize to 5 GB. It showed "Resizing volume…" for over 30 minutes. After reloading the page, the volume is back at 500 MB.

The Postgres service now has no active deployment. The CLI says: "Service Postgres has no active deployment in environment production." The volume itself shows status "Ready", 500 MB.

What we need

The volume resized to 5 GB, keeping its existing data as it is, and Postgres started again. Once there's free space, Postgres should recover by itself from its log ("automatic recovery in progress… redo done" appeared just before it failed for lack of space).

If the resize can't be done right away, please start the Postgres service with enough free space for it to recover. We'll then free space ourselves.

Could you also tell us whether the earlier resize attempt changed or moved any data on the volume?

Awaiting Railway Response

0 Replies

Status changed to Awaiting Railway Response Railway • 7 minutes ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...