Postgres not resizing
sookochoff
PROOP

2 months ago

My Postgres volume is full at 20GB. I resized to 100GB but the resize isn't taking effect. Postgres can't complete WAL recovery — crash loop with message 'could not write to file "pg_wal/xlogtemp.25": No space left on device'

If I understand correctly from similar threads, the volume resize isn't taking effect. Can you manually resize?

Solved

6 Replies

2 months ago

We can confirm your volume resize hasn't propagated to the filesystem, which is why Postgres still sees the old 20GB limit and is crash-looping on WAL writes. We've flagged this for our infrastructure team to manually extend the filesystem.


Status changed to Awaiting User Response Railway 2 months ago


2 months ago

Hi! We've expanded the filesystem on your Postgres volume to match the full 20 GB allocation and redeployed the service. The resize wasn't fully applied on our end, which is why Postgres kept crash-looping. It should come back up shortly with the full disk space available. We've also shipped a fix to prevent this from happening on future volume resizes.


sookochoff
PROOP

2 months ago

To be clear, I resized the volume to 100GB but my Postgres filesystem is still only showing 20GB disk space available. Did you resize Postgres to 20GB or 100GB?

My volume size is still currently showing it's set to 100GB so I don't want to try changing that. I just need my Postgres filesystem to match it at 100GB.


Status changed to Awaiting Railway Response Railway 2 months ago


chandrika
EMPLOYEE

2 months ago

Apologies for the confusion. It looks like the filesystem was only extended to 20GB rather than the 100GB you requested. We're flagging this again for our infrastructure team to extend the filesystem to the full 100GB to match your volume setting. Please don't change the volume size in the meantime.


Status changed to Awaiting User Response Railway 2 months ago


sookochoff
PROOP

2 months ago

Thanks. Please let me know when done, and also is this something that will continue to happen? Will I need to reach out to manually request the resizing each time I attempt a resize from the Railway admin?


Status changed to Awaiting Railway Response Railway 2 months ago


2 months ago

Your volume resize to 100 GB didn't fully apply, which is why Postgres was still seeing the old disk size. We've corrected this on our end and redeployed your Postgres service. You should now have the full 100 GB available.

We've shipped a fix to prevent this from happening on future volume resizes, so you won't need to reach out for manual intervention again.


Status changed to Awaiting User Response Railway 2 months ago


Status changed to Solved sookochoff 2 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...