# פתרון בעיות ביצועים חמורות עם Discourse האחרון?

**URL:** <https://meta.discourse.org/t/troubleshooting-severe-performance-issues-with-latest-discourse/182995>\
**Category:** Self-hosting\
**Created:** [12 במרץ,‏ 2021,‏ 10:40am UTC](https://meta.discourse.org/t/troubleshooting-severe-performance-issues-with-latest-discourse/182995 "2021-03-12T10:40:20Z")\
**Posts on this page:** 1\
**Showing post:** 24

<div class="post-metadata">

**Author:** ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)\
**Post date:** [1 באפריל,‏ 2021,‏ 4:39pm UTC](https://meta.discourse.org/t/troubleshooting-severe-performance-issues-with-latest-discourse/182995/24 "2021-04-01T16:39:24Z")

</div>

This looks like you have CPU contention:

![image](https://global.discourse-cdn.com/meta/optimized/3X/c/5/c5bc2a6182604f0ec31cc12406a758ccce2b1b32_2_690x62.png)

What processors do you have allocated on the server, how fast are they, and is there contention on the guest or host? That’s where I would start looking. Your time for the `latest.json` actions in the next two screenshots should be much quicker.

Additionally, with the performance headers enabled you’ll be able to see performance stats for each request in the response headers. Here’s an example for `/latest.json` for a small site:

```plaintext
x-runtime: 0.053864
x-redis-calls: 3
x-redis-time: 0.000615
x-sql-calls: 12
x-sql-time: 0.012697
x-queue-time: 0.001498

```

That might help you determine where you’re spending time waiting SQL/redis or doing processing in the app.

---

_[View the full topic](https://meta.discourse.org/t/troubleshooting-severe-performance-issues-with-latest-discourse/182995)._
