a month ago
We're experiencing a critical issue with our PostgreSQL 17.9 deployment on Railway. Despite expanding the volume to 250GB several days ago, SSH access shows the Postgres data directory is reporting only 434MB total space with 424MB used (100% full).
Symptoms:
- Backend login failing:
401 Unauthorizederrors - All write operations fail:
FATAL: could not write init file: No space left on device psqlclient cannot connect to the databasedf -hin the container shows/dev/zd10416at 434M total, 424M used, 0 bytes free
Environment Details:
- PostgreSQL 17.9 on Railway
- Instance had volume expanded to 250GB ~3 days ago
- Data directory:
/var/lib/postgresql/data/pgdata - Disk usage breakdown:
base/: 388M (actual data tables)pg_wal/: 33M (write-ahead logs)pg_xact/: 3.5M
Questions:
- Did the volume expansion to 250GB complete successfully, or is there a separate container storage limit?
- Why does
df -hshow only 434M total despite the 250GB allocation? - Does the Postgres service need to be manually restarted to recognize the new volume size?
Impact:
Production application is completely offline. Users cannot log in. All database writes are blocked.
1 Replies
Status changed to Awaiting Railway Response Railway • about 1 month ago
a month ago
Hi there, thanks for the detailed report. We've identified and fixed the issue. Here's what happened:
-
The volume expansion to 250 GB was partially applied — the storage was allocated, but an internal step that makes the full space available to your database didn't complete. There's no separate container storage limit at play here.
-
That's why
df -hwas showing only 434 MB — your database could only see the original volume size, not the expanded one. -
A restart alone wouldn't have resolved this — it required a fix on our side, which we've now applied.
We've redeployed your Postgres service. Your database should now have access to the full ~233 GB of usable space (250 GB minus normal overhead), and all your existing data is intact.
Status changed to Awaiting User Response Railway • about 1 month ago
a month 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 • 29 days ago