gpt4 book ai didi

ubuntu - 整个主机被锁定并在 bitbake 运行时关闭所有应用程序

转载 作者:行者123 更新时间:2023-12-04 19:07:36 24 4
gpt4 key购买 nike

我最近在运行 build-image 时开始看到这个问题编译一个 Yocto 镜像,它会在完成构建 60% 左右后锁定整个 Linux 机器,并且在记录它时,你会看到机器好像被重置了。
dmesg 日志如下所示:


523.735767] JBD2: Error while async write back metadata bh 3155745.
[ 523.735768] JBD2: Error while async write back metadata bh 3155746.
[ 523.735769] JBD2: Error while async write back metadata bh 3155747.
[ 523.735770] JBD2: Error while async write back metadata bh 3155748.
[ 523.735770] JBD2: Error while async write back metadata bh 3155749.
[ 523.735771] JBD2: Error while async write back metadata bh 3155750.
[ 523.735772] JBD2: Error while async write back metadata bh 3155751.
[ 523.735772] JBD2: Error while async write back metadata bh 3155752.
[ 523.735773] JBD2: Error while async write back metadata bh 3155753.
[ 523.735776] JBD2: Error while async write back metadata bh 3155754.
[ 523.735777] JBD2: Error while async write back metadata bh 3155755.
[ 523.735777] JBD2: Error while async write back metadata bh 3155756.
[ 523.735778] JBD2: Error while async write back metadata bh 3155757.
[ 523.735779] JBD2: Error while async write back metadata bh 3155758.
[ 7248.626788] perf: interrupt took too long (2511 > 2500), lowering kernel.perf_event_max_sample_rate to 79500
[ 8308.051016] show_signal_msg: 19 callbacks suppressed
[ 8308.051018] TeamViewer_Desk[3117]: segfault at 7f3b36502d8e ip 00007f3b47cb0ccb sp 00007f3b26dc4c40 error 4 in libgcc_s.so.1[7f3b47ca2000+16000]
[ 8308.092048] TeamViewer[3014]: segfault at 429745010 ip 00007faf67fc4e38 sp 00007ffd70549770 error 6 in libc-2.23.so[7faf67f43000+1c0000]
我正在使用 Ubuntu 16.04

最佳答案

看起来相当多的线程并行运行导致系统启动/锁定。
将线程数修改为 4 就可以了。

BB_NUMBER_THREADS = 4

关于ubuntu - 整个主机被锁定并在 bitbake 运行时关闭所有应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65443192/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com