# Strange CPU usage since latest upgrade

**URL:** <https://meta.discourse.org/t/strange-cpu-usage-since-latest-upgrade/113760>\
**Category:** Self-hosting\
**Tags:** server-resources\
**Created:** [08.Апрель.2019 14:19:22 UTC](https://meta.discourse.org/t/strange-cpu-usage-since-latest-upgrade/113760 "2019-04-08T14:19:22Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)\
**Post date:** [09.Апрель.2019 02:26:34 UTC](https://meta.discourse.org/t/strange-cpu-usage-since-latest-upgrade/113760/12 "2019-04-09T02:26:34Z")

</div>

> [@schungx](#):
>
> It almost _feels_ like the task is reading the list of uploads from the database, decides that all of them requires processing, then tries to process each upload one by one, only to fail every time because it can’t find the file(s) on the disk. One hour later, repeat.

Hmm the clean up uploads job doesn’t attempt to process any uploads since it only deletes orphaned uploads. Can you help me to run the following manually to see if it triggers the same spike?

```plaintext
cd /var/discourse
./launcher enter app
rails c
Jobs::CleanUpUploads.new.execute({})

```

---

_[View the full topic](https://meta.discourse.org/t/strange-cpu-usage-since-latest-upgrade/113760)._
