数日使用後にFirefoxがフリーズする:CPU制限

数日使用後にFirefoxがフリーズする:CPU制限

私のFirefoxは数日ごとに停止します。

次のように表示されます。 CPU タイムアウト(コアダンプ)

この制限を削除するか、少なくとも増やす方法はありますか?

###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost

[Child 867149, MediaDecoderStateMachine #1] WARNING: Decoder=7f46622d9800 Decode error: NS_ERROR_DOM_MEDIA_CANCELED (0x806e000a) - RefPtr<MediaSourceTrackDemuxer::SeekPromise> mozilla::MediaSourceTrackDemuxer::DoSeek(const mozilla::media::TimeUnit &): manager is detached.: file /build/firefox-oDiU8w/firefox-96.0+build2/dom/media/MediaDecoderStateMachine.cpp:3568
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
CPU time limit exceeded (core dumped)

ulimitCPU制限はお勧めできません。

$ ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 127356
max locked memory       (kbytes, -l) 65536
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 127356
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

オペレーティングシステム:Ubuntu 20.04 Firefox:96.0

一緒にいるかもしれないhttps://bugzilla.mozilla.org/show_bug.cgi?id=1538435

chrt -o 0 firefoxしばらく働いているようですが、もう動作しません。

すべてのプロセスにCPU制限が設定されていることを確認しました。

grep cpu */limits|grep -v 'unlimited.*unlimited'

これは何も打たなかった。ただし、ここにはすべてのFirefoxプロセスがリストされています。

$ grep realt */limits|grep -v 'unlimited.*unlimited'|G 000
3238579/limits:Max realtime timeout      50000                200000                us        

これが理由かもしれません。しかし、どのように変更しますか?

答え1

Snowflake("tor") プラグインを無効にしたところ、問題がクラッシュしました。

関連情報