# Firefox 131を起動してしばらくするとシステムがフリーズしてしまう

**URL:** <https://jlinuxer.org/t/topic/144>\
**Category:** ソフトウェア\
**Tags:** troubleshoot, manjaro\
**Created:** [2024 年 10 月 5 日午後 12:03 UTC](https://jlinuxer.org/t/topic/144 "2024-10-05T12:03:54Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Inqb8tr](https://jlinuxer.org/letter_avatar_proxy/v4/letter/i/49beb7/32.png) [@Inqb8tr](https://jlinuxer.org/u/Inqb8tr)\
**Post date:** [2024 年 10 月 5 日午後 12:03 UTC](https://jlinuxer.org/t/topic/144/1 "2024-10-05T12:03:54Z")

</div>

Manjaro forumにも投稿しています。

> **[Firefox131 freeze the system randomly](https://forum.manjaro.org/t/firefox131-freeze-the-system-randomly/168986)**
>
> After upgrading Firefox130 to 131 with yay, my Manjaro Sway has frozen randomly. When I use Google Chrome or MS Edge, there is no problem. I use Manjaro Sway edition on MINIFORUM HX90. Before a force shutdown, the following log appeared. Is...

Manjaro Sway EditionをMINISFORUM HX90で利用しています。

yayでアップデートを行ったらFirefox 131がインストールされたのですが、Firefox 131を利用しているとManjaro Linux全体がフリーズしてしまって、強制終了するしかなくなってしまう症状が発生しています。

現在は別のブラウザを使っているのでフリーズしません。

関係ないかもしれませんがjournalctlを見ると次のようなログが出ていました。  
このログの結果がフリーズなのでしょうか。

```auto
10月 04 21:16:41 hx90 rtkit-daemon[2194]: Supervising 3 threads of 3 processes of 1 users.
10月 04 21:17:43 hx90 rtkit-daemon[2194]: Supervising 3 threads of 3 processes of 1 users.
10月 04 21:17:43 hx90 rtkit-daemon[2194]: Supervising 3 threads of 3 processes of 1 users.
10月 04 21:18:14 hx90 rtkit-daemon[2194]: Supervising 3 threads of 3 processes of 1 users.
10月 04 21:18:14 hx90 rtkit-daemon[2194]: Supervising 3 threads of 3 processes of 1 users.
10月 04 21:19:38 hx90 rtkit-daemon[2194]: The canary thread is apparently starving. Taking action.
10月 04 21:19:38 hx90 rtkit-daemon[2194]: Demoting known real-time threads.
10月 04 21:19:38 hx90 rtkit-daemon[2194]: Successfully demoted thread 24744 of process 3319.
10月 04 21:19:38 hx90 rtkit-daemon[2194]: Successfully demoted thread 4022 of process 2722.
10月 04 21:19:38 hx90 rtkit-daemon[2194]: Successfully demoted thread 2590 of process 2450.
10月 04 21:19:38 hx90 rtkit-daemon[2194]: Demoted 3 threads.
-- Boot 05639eb6f3a04e189880393ff3ee54e7 --
10月 04 21:20:39 hx90 kernel: Linux version 6.6.52-1-MANJARO (builduser@fv-az1204-572) (gcc (GCC) 14.2.1 20240910, GNU ld (GNU Binutils) 2.43.0) #1 SMP PREEM>
10月 04 21:20:39 hx90 kernel: Command line: BOOT_IMAGE=/@/boot/vmlinuz-6.6-x86_64 root=UUID=c5f3f1e1-6109-43ef-a947-cd4c29c7cfb1 rw rootflags=subvol=@ apparm>
10月 04 21:20:39 hx90 kernel: BIOS-provided physical RAM map:

```

---

<div class="post-metadata">

**Author:** ![harukamy](https://jlinuxer.org/user_avatar/jlinuxer.org/harukamy/32/8_2.png) [@harukamy](https://jlinuxer.org/u/harukamy)\
**Post date:** [2024 年 10 月 6 日午前 5:03 UTC](https://jlinuxer.org/t/topic/144/2 "2024-10-06T05:03:38Z")

</div>

吐き元が `rtkit-daemon` なので、多分記載部分は関係ないですねぇ

ConkyでCPU, メモリ, IOなどを表示するようにしてプロセス眺めるとヒントになるかもしれません。  
あと、フリーズに関してはログが対象の時間帯であるならもっと待ったほうが良いかと思います。

---

<div class="post-metadata">

**Author:** ![Inqb8tr](https://jlinuxer.org/letter_avatar_proxy/v4/letter/i/49beb7/32.png) [@Inqb8tr](https://jlinuxer.org/u/Inqb8tr)\
**Post date:** [2024 年 10 月 6 日午前 5:48 UTC](https://jlinuxer.org/t/topic/144/3 "2024-10-06T05:48:56Z")

</div>

返信ありがとうございます。

conky使ったことがないので使ってみます。  
フリーズ後の強制終了ももう少し待ってみます。

また何か進捗があれば更新させていただきます。

---

<div class="post-metadata">

**Author:** ![Inqb8tr](https://jlinuxer.org/letter_avatar_proxy/v4/letter/i/49beb7/32.png) [@Inqb8tr](https://jlinuxer.org/u/Inqb8tr)\
**Post date:** [2024 年 11 月 25 日午前 11:42 UTC](https://jlinuxer.org/t/topic/144/4 "2024-11-25T11:42:10Z")

</div>

かなり時間が経ちましたが、どうやら直った?ようなのでご報告させていただきます。

解決するまでには、OS再インストール(久々のManjaro Swayのクリーンインストール)とかSSDの交換(500GB-\>1TB)などあったのですが、問題は発生し続けました。

下記のアップデート後に発生したので、追加のアップデートが来ないか待っていましたが、まだ来ていません。

> **[\[Stable Update\] 2024-10-01 - Kernels, Plasma 6.1.5, KDE Gear 24.08.1,...](https://forum.manjaro.org/t/stable-update-2024-10-01-kernels-plasma-6-1-5-kde-gear-24-08-1-libreoffice-virtualbox-7-1/168682/1)**
>
> Hello community, here we have another set of package updates. This marks the release of Manjaro 24.1 also to been known as Xahea. Expect new ISOs soon. Current Promotions Find out all about our current Gaming Laptop the Hero with Manjaro...

解決方法はこちらの方法を従い、grubにカーネルパラメータを追加しました。

> **[I've almost gone crazy with the system random freezes!](https://forum.manjaro.org/t/ive-almost-gone-crazy-with-the-system-random-freezes/149211/36)**
>
> The likelihood of recent system freezes has reduced significantly, but it still occurs at night. It seems that disabling C6 through software during boot isn’t a complete solution. Through some further searches, I found the following articles: ADM...

1. BIOSがサポートしていれば、CPU power managementを無効にする。(わたしの場合は設定項目がありませんでした)
2. idle=nomwait のカーネルパラメータの追加。
3. processor.max\_cstate=1 intel\_idle.max\_cstate=0 のカーネルパラメーターの追加
4. sudo update-grub の実行。

現在、わたしの/etc/default/grubのGRUB\_CMDLINE\_LINUX\_DEFAULTの行は下記のようになっています。

```auto
GRUB_CMDLINE_LINUX_DEFAULT="apparmor=1 security=apparmor resume=UUID=446aed08-b404-41f7-b4c3-bfb291216d1e udev.log_priority=3 idle=nomwait processor.max_cstate=1 intel_idle.max_cstate=0"

```

どうやらAMD製CPUの問題のようです。

AMD製CPUを使っている方でランダムにフリーズが起こっていて困っている人は試してみるとよいかもしれません。

---

<div class="post-metadata">

**Author:** ![Inqb8tr](https://jlinuxer.org/letter_avatar_proxy/v4/letter/i/49beb7/32.png) [@Inqb8tr](https://jlinuxer.org/u/Inqb8tr)\
**Post date:** [2024 年 12 月 1 日午前 3:51 UTC](https://jlinuxer.org/t/topic/144/5 "2024-12-01T03:51:36Z")

</div>

Manjaro の 11/30のStable Update でまたフリーズするようになってしまいました。

> **[\[Stable Update\] 2024-11-30 - Kernels, Plasma, GNOME, COSMIC, LXQT, SYSTEMD](https://forum.manjaro.org/t/stable-update-2024-11-30-kernels-plasma-gnome-cosmic-lxqt-systemd/171163)**
>
> Hello community, here we have another set of package updates. Current Promotions Find out all about our current Gaming Laptop the Hero with Manjaro pre-installed from Spain! Protect your personal data, keep yourself safe with Surfshark VPN: Get...

現在カーネルを6.12.1にしてブラウザはbraveを利用しています。

grubのカーネルパラメータはManjaro Forumでintel\_idle.max\_cstate=0はIntelのCPUのものではないかということを指摘いただきましたので、外しました。

processor.max\_cstate=1にすると電力消費量に影響があるということで、順に下げていった方が良いとのことで、現在processor.max\_cstate=5にしました。

cstateの状態の説明は下記のようになっているようです。

[![](https://3.bp.blogspot.com/-g1psqqL8o5M/WxkbwkRm1aI/AAAAAAAAGxQ/821NBwrPr68gyPyxWRyNJ7Ea0mMoB7wLwCLcBGAs/s1600/cpu_states.png) ](https://3.bp.blogspot.com/-g1psqqL8o5M/WxkbwkRm1aI/AAAAAAAAGxQ/821NBwrPr68gyPyxWRyNJ7Ea0mMoB7wLwCLcBGAs/s1600/cpu_states.png)

上記表は [What are the CPU c-states? How to check and monitor the CPU c-state usage in Linux per CPU and core? - GoLinuxHub](https://www.golinuxhub.com/2018/06/what-cpu-c-states-check-cpu-core-linux/) より。

また改善がありましたら報告させていただきます。

---

<div class="post-metadata">

**Author:** ![Inqb8tr](https://jlinuxer.org/letter_avatar_proxy/v4/letter/i/49beb7/32.png) [@Inqb8tr](https://jlinuxer.org/u/Inqb8tr)\
**Post date:** [2024 年 12 月 8 日午前 11:28 UTC](https://jlinuxer.org/t/topic/144/6 "2024-12-08T11:28:35Z")

</div>

今現在、 processor.max\_cstate=3 にしている状態で安定的に動いています。  
/etc/default/grub に GRUB\_CMDLINE\_LINUX=“amdgpu.runpm=0” も追加していますが、効果があるのかわかりません。

suspend 状態からの復帰ができない症状がありましたので、systemctl mask suspend.target で無効化してあります。

hibernation からの復帰はできます。

Firefox でもフリーズ、突然の再起動などおこっていません。

---

<div class="post-metadata">

**Author:** ![Inqb8tr](https://jlinuxer.org/letter_avatar_proxy/v4/letter/i/49beb7/32.png) [@Inqb8tr](https://jlinuxer.org/u/Inqb8tr)\
**Post date:** [2024 年 12 月 10 日午前 2:19 UTC](https://jlinuxer.org/t/topic/144/7 "2024-12-10T02:19:56Z")

</div>

別の回避策がありましたので共有します。

下記のAUR/disable-c6-systemdをインストールして、disable-c6.serviceを有効にしたらシステムが安定しました。（processor.max\_cstateの項目は削除しました。）

```auto
sudo systemctl enable disable-c6.service
sudo systemctl start disable-c6.service

```

> **[GitHub - jfredrickson/disable-c6: A systemd service to disable the C6 state upon...](https://github.com/jfredrickson/disable-c6)**
>
> A systemd service to disable the C6 state upon system boot, preventing Ryzen freezes.

ですが、suspendからの復帰はできませんでした。

---

<div class="post-metadata">

**Author:** ![Inqb8tr](https://jlinuxer.org/letter_avatar_proxy/v4/letter/i/49beb7/32.png) [@Inqb8tr](https://jlinuxer.org/u/Inqb8tr)\
**Post date:** [2025 年 8 月 30 日午前 12:02 UTC](https://jlinuxer.org/t/topic/144/8 "2025-08-30T00:02:24Z")

</div>

どうやらハードウェア的な不具合だったようで、あまりに頻繁にフリーズor再起動するので、PCを新たに購入することになりました。お騒がせしました。
