# Jobs::PeriodicalUpdates が高CPU使用率（100%超）の原因

**URL:** <https://meta.discourse.org/t/jobs-periodicalupdates-is-the-cause-of-high-cpu-over-100/214291>\
**Category:** Self-hosting\
**Created:** [2022 年 1 月 9 日午前 11:29 UTC](https://meta.discourse.org/t/jobs-periodicalupdates-is-the-cause-of-high-cpu-over-100/214291 "2022-01-09T11:29:19Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)\
**Post date:** [2022 年 1 月 9 日午後 4:51 UTC](https://meta.discourse.org/t/jobs-periodicalupdates-is-the-cause-of-high-cpu-over-100/214291/6 "2022-01-09T16:51:37Z")

</div>

このジョブで使用されているタスクのリストは次のとおりだと思います: [discourse/app/jobs/scheduled/periodical\_updates.rb at 1472e47aae5bfdfb6fd9abfe89beb186c751f514 · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/1472e47aae5bfdfb6fd9abfe89beb186c751f514/app/jobs/scheduled/periodical_updates.rb)

私はこれを分析する専門家ではありませんが、2つの設定が言及されているのを見ました。

- `automatically download gravatars` (自動的にグラバターをダウンロードする): これがCPU使用率の高さを説明するとは思えません。
- `rebake_old_posts_count` (古い投稿の再ベイク数): これは現在非表示になっていますが、数か月前に15分ごとに多くの古い投稿を再ベイクするように設定した可能性があります。これはCPU使用率をもう少し説明できるかもしれません。

---

_[View the full topic](https://meta.discourse.org/t/jobs-periodicalupdates-is-the-cause-of-high-cpu-over-100/214291)._
