2 months ago
I have a volume attached to a Streamlit web service. The dashboard shows the volume size as 5.00 GB, and I've clicked "Live resize" multiple times, but the actual mounted filesystem remains at only 879 MB.
Setup:
- Service: Streamlit web app (Nixpacks build, Python 3.13)
- Volume mount path:
/data - Volume region: EU West (Amsterdam, Netherlands)
- Dashboard configured size: 5.00 GB
How I verified the actual filesystem size:
I added this diagnostic code to my app startup:
pythonimport shutiltotal, used, free = shutil.disk_usage("/data")
print(f"Volume: {total/1024/1024:.0f} MB total, "
f"{used/1024/1024:.0f} MB used, {free/1024/1024:.0f} MB free")
App logs after latest deploy:
[diag] Volume: 879 MB total, 863 MB used, 0 MB free[diag] DB file: 840.4 MB
[diag] WAL file: 15.9 MB
As you can see, the filesystem reports 879 MB total -> not the 5 GB configured in the dashboard. With an 840 MB SQLite database, this leaves 0 MB free and all write operations fail with sqlite3.OperationalError: database or disk is full.
Steps taken:
- Set volume size to 5.00 GB in dashboard settings
- Clicked "Live resize"
- Redeployed the service
- Verified via
shutil.disk_usage(), still shows 879 MB total
Expected: Volume filesystem should be 5 GB (or close to it) Actual: Volume filesystem is stuck at 879 MB
Has anyone experienced this? Is there an additional step needed to make the resize actually propagate to the filesystem? Any help appreciated!
1 Replies
Status changed to Awaiting Railway Response Railway • about 2 months ago
2 months ago
Hey, thanks for the detailed report and the diagnostic code.
Your volume resize to 5 GB didn't fully apply on our end. We've corrected it and redeployed your service. You should now see approximately 4.6 GB of available disk space on your /data volume.
We've also shipped a fix to prevent this from happening on future volume resizes.
Status changed to Awaiting User Response Railway • about 2 months ago
2 months 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 • about 2 months ago