Raspberry Piについての議論 | ブログ

Raspberry Pi 4 (RAM 8GB) と USB 接続の SSD を単一ドライブとして使用していますが、動作しません。以下のログで(または、1時間待っても進まないので根負けして…)ハングアップします。

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