Lyndra's Blog

qbittorrent 校验大文件导致Linux内核出问题

2024-11-17
系统维护 ManjaroLinux
2分钟
243字
温馨提示:本文最后更新于 2025-03-11 ,部分信息可能因时间推移而不再适用,欢迎反馈。

问题

  在 qbittorrent​ 校验大文件时(大概100GB以上?),会出现无法启动新应用的情况。

  KDE 还会在一段时间后,弹出下列通知

1
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

  而且在终端中无法运行系统内核相关的程序,例如:journalctl​、systemdctl​ 等。无法通过 reboot​ 重启电脑,只能通过长按电源键硬重启电脑。

解决方案

手动

1
sudo renice +10 -p $(pgrep qbittorrent)

  再次校验大文件时,就不会出现上述问题。

自动

  更改开机自启动 desktop​ 文件,在启动时就将 qbittorrent​ 优先级降低。

1
$ ls ~/.config/autostart
2
$ vim org.qbittorrent.qBittorrent.desktop
3
将 Exec=qbittorrent %U 改为
4
Exec=sh -c "nice -n 10 qbittorrent %U"

  更改通用启动 desktop​ 文件,在启动时就将 qbittorrent​ 优先级降低。

1
$ vim ~/.local/share/applications/org.qbittorrent.qBittorrent.desktop
2
将 Exec=qbittorrent %U 改为
3
Exec=sh -c "nice -n 10 qbittorrent %U"

  或者通过图形化界面找到 desktop​ 文件

default

default

本文标题:qbittorrent 校验大文件导致Linux内核出问题
文章作者:Lyndra
发布时间:2024-11-17
总访问量
总访客数人次
Copyright 2025
站点地图