首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Firefox在使用几天后死亡: CPU限制

Firefox在使用几天后死亡: CPU限制
EN

Unix & Linux用户
提问于 2022-01-31 20:23:15
回答 1查看 360关注 0票数 1

我的火狐每隔几天就会死一次。

上面写着:超过了CPU的时间限制(弃核)

有什么办法我可以取消或至少提高这个限制吗?

代码语言:javascript
运行
复制
###!!! [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 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)

ulimit不建议任何CPU限制:

代码语言:javascript
运行
复制
$ 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

OS: Ubuntu20.04 Firefox: 96.0

可能与https://bugzilla.mozilla.org/show_bug.cgi?id=1538435有关

chrt -o 0 firefox似乎工作了一段时间,但不再起作用了。

我检查了是否对任何进程设置了cpu限制:

代码语言:javascript
运行
复制
grep cpu */limits|grep -v 'unlimited.*unlimited'

这个没找到任何线索。但是,它列出了所有firefox进程:

代码语言:javascript
运行
复制
$ grep realt */limits|grep -v 'unlimited.*unlimited'|G 000
3238579/limits:Max realtime timeout      50000                200000                us        

这可能就是原因。但我该怎么改变呢?

EN

回答 1

Unix & Linux用户

发布于 2022-05-14 20:36:21

我禁用了雪花插件,问题就停止了。

票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/688761

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档