我使用的是 Linux 4.15,当我浏览谷歌、Facebook 或任何其他资源匮乏的网站时,这种情况发生在我身上很多次 - 整个操作系统变得无响应、冻结和无用。我看到它唯一能工作的是磁盘(主系统分区格式化为 ext4),它被大量使用(I/O 节流)。
我被迫等待一分钟或更长时间才能摆脱臃肿,有时它会保持12分钟无响应,因此我感到沮丧。操作系统无法很好地处理多任务处理这一事实往往反映了一种绝对奇怪和不可接受的行为。
不仅发生这种情况与Firefox,但与任何的JavaScript解释器应用程序,包括微软VSCode或角-CLI(ng serve
命令),以及执行任何其他渴求资源的线程-例如的情况下plantuml生成从一个非常大的图形时非常复杂的UML图。
今天,在为最近从坏 USB 端口拔下的外部 HDD(通过 ext4 分区)启动数据恢复软件后,操作系统变得完全无法管理。
我无法说出这种错误行为背后的根本原因
我在浏览器中打开了许多选项卡,并且根据df
输出使用了 94% 的操作系统分区:
Filesystem 1K-blocks Used Available Use% Mounted on
udev 3964160 0 3964160 0% /dev
tmpfs 798164 3192 794972 1% /run
/dev/sda5 173466400 153224316 11407424 94% /
tmpfs 3990820 62936 3927884 2% /dev/shm
tmpfs 5120 4 5116 1% /run/lock
tmpfs 3990820 0 3990820 0% /sys/fs/cgroup
/dev/loop5 128 …
Run Code Online (Sandbox Code Playgroud) 我正在尝试使用xrandr
返回以下信息的连接的监视器列出:
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
eDP-1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
1366x768 60.06*+
1360x768 59.80 59.96
1280x720 60.00 59.99 59.86 59.74
1024x768 60.04 60.00
960x720 60.00
928x696 60.05
896x672 60.01
1024x576 59.95 59.96 59.90 59.82
960x600 59.93 60.00
960x540 59.96 59.99 59.63 59.82
800x600 60.00 60.32 56.25
840x525 60.01 59.88
864x486 59.92 59.57
800x512 60.17
700x525 59.98
800x450 59.95 …
Run Code Online (Sandbox Code Playgroud)