xshell登录时,非常慢,然后提示
'abrt-cli status' timed out
经过查询发现是因为
abrtd.service
这个服务引起的。这是一个可有可无的功能,管理多用户的。
- 解决办法 :
systemctl stop abrtd.service
但是我第一次使用的时候输入之后就立刻生效,第二次发现并不管用。继续研究
怀疑是锁定了进程。排查:
[root]# systemctl start abrtd.service
[root]# systemctl status abrtd.service
● abrtd.service - ABRT Automated Bug Reporting Tool
Loaded: loaded (/usr/lib/systemd/system/abrtd.service; enabled; vendor preset: enabled)
Active: active (running) since 二 2020-10-20 19:03:11 CST; 12s ago
Main PID: 21498 (abrtd)
Memory: 1.7M
CGroup: /system.slice/abrtd.service
└─21498 /usr/sbin/abrtd -d -s
10月 20 19:03:18 -abrtd[21498]: Lock file '.lock' is locked by process 28834
10月 20 19:03:18 - abrtd[21498]: Lock file '.lock' is locked by process 28834
10月 20 19:03:19 - abrtd[21498]: Lock file '.lock' is locked by process 28834
10月 20 19:03:19 -abrtd[21498]: Lock file '.lock' is locked by process 28834
10月 20 19:03:20 -abrtd[21498]: Lock file '.lock' is locked by process 28834
10月 20 19:03:20 - abrtd[21498]: Lock file '.lock' is locked by process 28834
10月 20 19:03:21 - abrtd[21498]: Lock file '.lock' is locked by process 28834
10月 20 19:03:21 -abrtd[21498]: Lock file '.lock' is locked by process 28834
10月 20 19:03:22 -abrtd[21498]: Lock file '.lock' is locked by process 28834
10月 20 19:03:22 -abrtd[21498]: Lock file '.lock' is locked by process 28834
[root]# kill -9 28834
[root]# systemctl stop abrtd.service
果然不出所料,进程锁死。杀掉进程,再次关闭。OK。
网友评论