[Boot/Shutdown] DEEPINV23关机2分钟
Tofloor
poster avatar
好好先生1993
deepin
2024-12-26 20:34
Author

昨天一切都正常,今天开机了一整天,期间主要操作就是安装了virtualbox虚拟机,然后又卸载了,晚上突然关机特别慢,按esc查看日志,显示如图,需要2分钟才能关机
关机慢日志.png

Reply Favorite View the author
All Replies
好好先生1993
deepin
2024-12-26 20:37
#1

按照社区里别的贴子也改了配置文件:

/etc/systemd/system.conf

/etc/systemd/user.conf

DefaultTimeoutStartSec=15s
DefaultTimeoutStopSec=15s

没用!!!

Reply View the author
流星追月
deepin
2024-12-26 20:44
#2

重新安装一下,还能锻炼手脑协调性,祝你装机顺利。

Reply View the author
好好先生1993
deepin
2024-12-26 20:58
#3
流星追月

重新安装一下,还能锻炼手脑协调性,祝你装机顺利。

要是新装系统就重装了,各种办公软件装了两天好不容易搞差不多了,重装太浪费时间,要重装就直接装windows了

Reply View the author
流星追月
deepin
2024-12-26 21:04
#4
好好先生1993

要是新装系统就重装了,各种办公软件装了两天好不容易搞差不多了,重装太浪费时间,要重装就直接装windows了

不要装WIN,半夜你的电脑会疯狂读硬盘的,现在的环境下使用WIN就是找不痛快了。

使用国产deepin半夜很安静!

Reply View the author
平津侯
deepin
2024-12-26 21:21
#5
好好先生1993

按照社区里别的贴子也改了配置文件:

/etc/systemd/system.conf

/etc/systemd/user.conf

DefaultTimeoutStartSec=15s
DefaultTimeoutStopSec=15s

没用!!!

改了参数也没用的话,有个临时方案:

卡在这个地方时,快速连续的按多次 ctrl + alt + del 组合键

就会跳过等待

Reply View the author
好好先生1993
deepin
2024-12-26 22:36
#6
平津侯

改了参数也没用的话,有个临时方案:

卡在这个地方时,快速连续的按多次 ctrl + alt + del 组合键

就会跳过等待

IMG_20241226_222820.jpg

不行,跳不过去,可能是安装virtualbox导致的,我又重新安装回来后关机,又出现一个计时两分钟的进程,上面图里只有user@1000在计时两分钟,这个图里是user@101和user@1000两个计时

Reply View the author
a1124258836
deepin
2024-12-27 08:02
#7

这个问题之前测试版的时候常遇见,不过正式版以后应该修复了,没再遇见过

Reply View the author
xye9008
deepin
2024-12-27 08:52
#8

好像倒数第三次内测更新后,会出现这个问题,后我因为多次强行关机导致部分文件损坏,只有重装系统。

Reply View the author
zhangqf
deepin
2024-12-27 20:50
#9

我这里也发现这个问题,如果开机后直接关机不会出现计数延时关机,是运行了某些软件、没有推出软件的情况下关机会出现这个故障。

Reply View the author
wcs4221
deepin beta test group
2024-12-28 07:06
#10

坛上有一条命令:sudo sed -i 's/TimeoutStopSec=120s/TimeoutStopSec=5s/' /usr/lib/systemd/system/user@.service

我用过:蛮好!

Reply View the author
好好先生1993
deepin
2024-12-28 10:23
#11
wcs4221

坛上有一条命令:sudo sed -i 's/TimeoutStopSec=120s/TimeoutStopSec=5s/' /usr/lib/systemd/system/user@.service

我用过:蛮好!

靠谱

Reply View the author
宁静致远
deepin
2025-01-22 14:36
#12

V23估计还没稳定,我的V23正常安装、正常更新后就会发生关机或重启要好长时间才能关机或重启。Intel i7 4940、4810的机器都试过,都要很长时间,估计是机器太老旧了,系统优化不够,老机器还是用V20.9版本好些,稳定,快,效率高。

Reply View the author
remyxo
deepin
2025-01-22 14:53
#13
wcs4221

坛上有一条命令:sudo sed -i 's/TimeoutStopSec=120s/TimeoutStopSec=5s/' /usr/lib/systemd/system/user@.service

我用过:蛮好!

我改为5秒,但实际从来没有在10秒内关机/重启成功过,基本上是15秒左右。Debian 12 很靠谱,5秒以内关机,一般是3--4秒。

Reply View the author