# Slow Sidekiq + Postmaster using 95%+ CPU (32 cores) after Postgresql Version Upgrade

**URL:** <https://meta.discourse.org/t/slow-sidekiq-postmaster-using-95-cpu-32-cores-after-postgresql-version-upgrade/152983>\
**Category:** Self-hosting\
**Tags:** server-resources\
**Created:** [27 במאי,‏ 2020,‏ 4:08pm UTC](https://meta.discourse.org/t/slow-sidekiq-postmaster-using-95-cpu-32-cores-after-postgresql-version-upgrade/152983 "2020-05-27T16:08:57Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [27 במאי,‏ 2020,‏ 4:10pm UTC](https://meta.discourse.org/t/slow-sidekiq-postmaster-using-95-cpu-32-cores-after-postgresql-version-upgrade/152983/2 "2020-05-27T16:10:56Z")

</div>

You need to check what are the exact queries PostgreSQL is running in order for us to have suggestions.

Enabling pg\_stat\_statements is really useful for that.

---

_[View the full topic](https://meta.discourse.org/t/slow-sidekiq-postmaster-using-95-cpu-32-cores-after-postgresql-version-upgrade/152983)._
