# Primary Postgres database process (postmaster) eating all CPU

**URL:** <https://meta.discourse.org/t/primary-postgres-database-process-postmaster-eating-all-cpu/84410>\
**Category:** Self-hosting\
**Tags:** server-resources\
**Created:** [April 2, 2018, 10:12pm UTC](https://meta.discourse.org/t/primary-postgres-database-process-postmaster-eating-all-cpu/84410 "2018-04-02T22:12:13Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![RobinTS](https://avatars.discourse-cdn.com/v4/letter/r/7ea924/32.png) [@RobinTS](https://meta.discourse.org/u/RobinTS)\
**Post date:** [May 28, 2020, 4:20pm UTC](https://meta.discourse.org/t/primary-postgres-database-process-postmaster-eating-all-cpu/84410/14 "2020-05-28T16:20:15Z")

</div>

Thank you @codinghorror and @markersocial for the instructions. It’s now been over a day and it looks like things are back to normal. I haven’t done anything but wait.

I’ll keep an eye on things and see if any more 502’s pop up (it might be due to low users during off-peak hours).

If it occurs again I will try the steps that you’ve listed.

---

_[View the full topic](https://meta.discourse.org/t/primary-postgres-database-process-postmaster-eating-all-cpu/84410)._
