Skip to content
WARNING: Disk Space Low
mahalaclinic-hue
OP

a month ago

i get alert on my email saying (The primary filesystem is running low on disk space. If it reaches 100%, redeployments will fail and the database may become read-only.). I HAVE no volume is attached, aplease identify what the reported root filesystem represents and what is using its space.

$10 Bounty

6 Replies

Status changed to Awaiting Railway Response Railway • about 1 month ago


Railway
BOT

a month ago

Your project does have persistent storage: your Postgres database has a volume attached in both production and preview, and those volumes are currently using about 502 MB and 391 MB of their 5 GB, so neither is anywhere near full right now.

Your app service is the one without a volume. Its filesystem is the container's own ephemeral disk, which holds the built image plus anything the app writes at runtime and is reset on every redeploy. That service logged a low-disk alert at 22:33 UTC today, so the warning lines up with the app's container disk rather than the database volume, and whatever your app writes to local disk while running (temp files, uploads, caches, logs written to files) is what fills it.


Status changed to Awaiting User Response Railway • about 1 month ago


Railway

Your project does have persistent storage: your Postgres database has a volume attached in both production and preview, and those volumes are currently using about 502 MB and 391 MB of their 5 GB, so neither is anywhere near full right now. Your app service is the one without a volume. Its filesystem is the container's own ephemeral disk, which holds the built image plus anything the app writes at runtime and is reset on every redeploy. That service logged a low-disk alert at 22:33 UTC today, so the warning lines up with the app's container disk rather than the database volume, and whatever your app writes to local disk while running (temp files, uploads, caches, logs written to files) is what fills it.

mahalaclinic-hue
OP

a month ago

how can i free some storage or add storage. according to your reply i had little storage and i am still adding data and building features.


Status changed to Awaiting Railway Response Railway • about 1 month ago


Railway
BOT

a month ago

Your database storage is not short on space. The Postgres volumes use about 502 MB (production) and 391 MB (preview) of 5 GB, and 5 GB is the largest volume size on the Hobby plan. The data you keep adding goes into that volume, so it has plenty of room right now.

Your app service has no volume. It runs on ephemeral disk, which is reset on every redeploy and allows up to 100 GB per deployment on a paid plan. To free space there, you can inspect and delete files in the running service with railway service files browse. Redeploying also clears anything the app wrote at runtime. Any files the app needs to keep should go in the database, or in a volume attached to the app service.

If the database later needs more than 5 GB, the Pro plan lets you resize volumes yourself up to 1 TB.


Status changed to Awaiting User Response Railway • about 1 month ago


Railway

Your database storage is not short on space. The Postgres volumes use about 502 MB (production) and 391 MB (preview) of 5 GB, and 5 GB is the largest volume size on the Hobby plan. The data you keep adding goes into that volume, so it has plenty of room right now. Your app service has no volume. It runs on ephemeral disk, which is reset on every redeploy and allows up to 100 GB per deployment on a paid plan. To free space there, you can inspect and delete files in the running service with `railway service files browse`. Redeploying also clears anything the app wrote at runtime. Any files the app needs to keep should go in the database, or in a volume attached to the app service. If the database later needs more than 5 GB, the Pro plan lets you resize volumes yourself up to 1 TB.

mahalaclinic-hue
OP

a month ago

also, this email reach me (DB connection pool saturation. the database coonection pool is under pressure .requests are quering for a free connection which can slow or block routes. active is 25/25 (100%)- requests waiting 18- total connections 25. consecutive high water ticks 1. predicted full pool in : already exhausted under currebt rate.


Status changed to Awaiting Railway Response Railway • about 1 month ago


Railway
BOT

a month ago

This thread has been opened as a bounty so the community can help solve it.

Status changed to Open Railway • about 1 month ago


skowt

a month ago

Did you discover what was causing the low disk space alert? Where is that alert coming from? Do you have a tool setup on your app that's reporting disk usage? It's weird that the Railway bot is saying there's just the DB volumes and that they're nowhere near max, so it must be coming from somewhere else. Another project?


skowt

Did you discover what was causing the low disk space alert? Where is that alert coming from? Do you have a tool setup on your app that's reporting disk usage? It's weird that the Railway bot is saying there's just the DB volumes and that they're nowhere near max, so it must be coming from somewhere else. Another project?

mahalaclinic-hue
OP

a month ago

when i click on link in email , it open page

image.png


Welcome!

Sign in to your Railway account to join the conversation.

Loading...