며칠 사용 후 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

운영 체제: 우분투 20.04 파이어폭스: 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") 플러그인을 비활성화했더니 문제가 중단되었습니다.

관련 정보