关于 Raspberry Pi 的讨论 | 博客

在 Raspberry Pi 4(8GB 内存)和通过 USB 连接的 SSD(作为唯一驱动器)上无法启动。它一直卡在以下位置(或者至少我在等待一个小时后感到不耐烦……)

I, [2024-02-06T00:58:51.743994 #1]  INFO -- : cd /var/www/discourse && su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'
warning "@discourse/lint-configs > eslint-plugin-ember > ember-eslint-parser@0.2.5" has unmet peer dependency "@typescript-eslint/parser@^6.15.0".
warning "@discourse/lint-configs > eslint-plugin-ember > ember-eslint-parser@0.2.5" has incorrect peer dependency "typescript@^5.3.3".
warning "> @glint/environment-ember-loose@1.3.0" has unmet peer dependency "@glimmer/component@^1.1.2".
2024-02-06 01:15:58.966 UTC [64] WARNING:  worker took too long to start; canceled
2024-02-06 01:16:19.640 UTC [480] WARNING:  autovacuum worker started without a worker entry
2024-02-06 01:21:46.504 UTC [64] WARNING:  worker took too long to start; canceled
2024-02-06 01:22:18.863 UTC [481] WARNING:  autovacuum worker started without a worker entry

它似乎仍在运行:

Tasks:  60 total,   7 running,  53 sleeping,   0 stopped,   0 zombie
%Cpu(s): 20.8 us, 60.5 sy,  0.0 ni,  0.0 id,  0.0 wa,  0.0 hi, 18.8 si,  0.0 st
MiB Mem :   7807.7 total,   6783.7 free,    954.0 used,     70.0 buff/cache
MiB Swap:      0.0 total,      0.0 free,      0.0 used.   6853.8 avail Mem

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
   3422 root      20   0 1928888  33180   2512 S  40.6   0.4  28:18.52 dockerd
   9922 root      20   0 1105300   9984   2944 S  30.2   0.1   1:02.72 docker
   3362 root      20   0 1934276  19060   1408 S  20.8   0.2  20:24.57 containerd
   9416 ubuntu    20   0 1148560 298160      0 R  12.0   3.7  10:03.66 node
   9158 dnsmasq   20   0   54992   2432    128 R  11.7   0.0   5:01.56 redis-server
   8997 root      20   0 1238120   5704    256 S  10.7   0.1   9:06.51 containerd-shim
   9504 ubuntu    20   0  569128  51532      0 R   8.8   0.6   5:20.97 node
   9930 pollina+  20   0  353212   5692   3328 R   6.8   0.1   0:06.97 postmaster
   9931 pollina+  20   0  352820   4156   2048 R   5.2   0.1   0:02.70 postmaster
   9098 pollina+  20   0  352844   3004   1024 R   2.3   0.0   0:15.75 postmaster
    219 root      20   0 1259732  36000  20352 S   1.0   0.5   1:10.50 cloudflared
   9658 root      20   0    9116   4864   2816 R   0.6   0.1   0:18.19 top

如果编译包含进度条就好了。

最好的方法是什么:

  • 找出它在做什么?
  • 安全地关闭它以重试?我之前尝试过 sudo shutdown --reboot 0,但这会破坏 postgres 数据库,我不得不重新设置机器。
1 个赞