# Database hitting resource limits

**URL:** <https://community.fly.io/t/database-hitting-resource-limits/24591>\
**Category:** General\
**Tags:** postgres, troubleshooting, volumes, login-only\
**Created:** [April 14, 2025, 9:01pm UTC](https://community.fly.io/t/database-hitting-resource-limits/24591 "2025-04-14T21:01:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevinjcoleman](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/kevinjcoleman/32/35233_2.png) [@kevinjcoleman](https://community.fly.io/u/kevinjcoleman)\
**Post date:** [April 14, 2025, 9:01pm UTC](https://community.fly.io/t/database-hitting-resource-limits/24591/1 "2025-04-14T21:01:04Z")

</div>

I’m getting constant errors on my Postgres DB.

- `Health check for your postgres database has failed. Your database is malfunctioning.`
- `Health check for your postgres vm has failed. Your instance has hit resource limits. Upgrading your instance / volume size or reducing your usage might help. HTTP GET http://172.19.4.42:5500/flycheck/vm: 500 Internal Server Error Output: [✗] checkDisk: 400.79 MB (10.0%!)(MISSING) free space on /data/ (37.98µs)`

I just upgraded my instance and volume size and my cost went through the roof yet this error is still happening.

---

<div class="post-metadata">

**Author:** ![mayailurus](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/mayailurus/32/17593_2.png) [@mayailurus](https://community.fly.io/u/mayailurus)\
**Post date:** [April 14, 2025, 9:26pm UTC](https://community.fly.io/t/database-hitting-resource-limits/24591/3 "2025-04-14T21:26:32Z")

</div>

> [@kevinjcoleman](#):
>
> `[✗] checkDisk: 400.79 MB (10.0%!)(MISSING) free space on /data/`

Hm… This part looks a little strange… Does `fly checks list -a db-app-name` also show that `MISSING` parenthetical warning?

Here’s a normal check, for comparison:

```plaintext
[✓] checkDisk: 866.33 MB (89.0%) free space on /data/

```

(That was on a 1GB volume.)

* * *

Aside: If this is a [single-Machine database](https://community.fly.io/t/scale-machines-postgres-cluster-down-to-1/20184/2) then it might be prudent to review backup strategies, etc., at this point, 🐉.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/fly1/original/3X/6/e/6e8955d00cb218e186ebbe3a6ab06fefdce15290.svg) [@system](https://community.fly.io/u/system)\
**Post date:** [April 21, 2025, 9:32pm UTC](https://community.fly.io/t/database-hitting-resource-limits/24591/5 "2025-04-21T21:32:43Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
