向日葵的log写满了64g的硬盘,导致空间不足[已解决]
Tofloor
poster avatar
28******22@qq.com
deepin
2020-09-05 21:44
Author
本帖最后由 actan 于 2020-9-8 17:32 编辑

不知道什么原因,deepin突然报警空间不足,提示清理空间,硬盘一共100g

研究了半天发现是向日葵死循环似的在写log,位于/var/log/sunlogin截了几张图,不过再回去看时发现截图失败,因为当时已经完全没有空间了嘛,哪里存的下新截图

只有下面几张操作命令结果为证:把向日葵日志全删了

haha@haha-server:/var/log/sunlogin$ ^C
haha@haha-server:/var/log/sunlogin$ ls -altrh | more
total 68G
-rw-r--r--  1 root root 6.6K Aug 31 09:56 sunlogin_service.log.1
-rw-r--r--  1 root root 5.0K Aug 31 09:58 sunlogin_service.log.2
-rw-r--r--  1 root root  39K Sep  1 11:59 sunlogin_service.log.3
-rw-r--r--  1 root root 6.6K Sep  1 15:52 sunlogin_service.log.4
-rw-r--r--  1 root root 5.1K Sep  1 17:13 sunlogin_service.log.5
-rw-r--r--  1 root root 4.9K Sep  1 23:23 desktop.log.1
-rw-r--r--  1 root root  12K Sep  1 23:24 sunlogin_service.log.6
-rw-r--r--  1 root root  17M Sep  2 20:49 desktop.log.2
-rw-r--r--  1 root root  17M Sep  2 20:49 desktop.log.3
-rw-r--r--  1 root root  17M Sep  2 20:49 desktop.log.4
-rw-r--r--  1 root root  17M Sep  2 20:49 desktop.log.5
-rw-r--r--  1 root root  17M Sep  2 20:49 desktop.log.6
-rw-r--r--  1 root root  17M Sep  2 20:49 desktop.log.7
-rw-r--r--  1 root root  17M Sep  2 20:49 desktop.log.8
-rw-r--r--  1 root root  17M Sep  2 20:49 desktop.log.9
-rw-r--r--  1 root root  17M Sep  2 20:49 desktop.log.10
-rw-r--r--  1 root root  17M Sep  2 20:49 desktop.log.11
-rw-r--r--  1 root root  17M Sep  2 20:49 desktop.log.12
-rw-r--r--  1 root root  17M Sep  2 20:49 desktop.log.13
-rw-r--r--  1 root root  17M Sep  2 20:49 desktop.log.14
-rw-r--r--  1 root root  17M Sep  2 20:49 desktop.log.15
-rw-r--r--  1 root root  17M Sep  2 20:49 desktop.log.16
-rw-r--r--  1 root root  17M Sep  2 20:49 desktop.log.17
-rw-r--r--  1 root root  17M Sep  2 20:49 desktop.log.18
-rw-r--r--  1 root root  17M Sep  2 20:49 desktop.log.19
-rw-r--r--  1 root root  17M Sep  2 20:49 desktop.log.20
-rw-r--r--  1 root root  17M Sep  2 20:49 desktop.log.21
-rw-r--r--  1 root root  17M Sep  2 20:49 desktop.log.22
-rw-r--r--  1 root root  17M Sep  2 20:49 desktop.log.23
-rw-r--r--  1 root root  17M Sep  2 20:49 desktop.log.24
-rw-r--r--  1 root root  17M Sep  2 20:49 desktop.log.25
-rw-r--r--  1 root root  17M Sep  2 20:50 desktop.log.26
-rw-r--r--  1 root root  17M Sep  2 20:50 desktop.log.27
-rw-r--r--  1 root root  17M Sep  2 20:50 desktop.log.28
-rw-r--r--  1 root root  17M Sep  2 20:50 desktop.log.29
-rw-r--r--  1 root root  17M Sep  2 20:50 desktop.log.30
-rw-r--r--  1 root root  17M Sep  2 20:50 desktop.log.31
-rw-r--r--  1 root root  17M Sep  2 20:50 desktop.log.32
-rw-r--r--  1 root root  17M Sep  2 20:50 desktop.log.33
-rw-r--r--  1 root root  17M Sep  2 20:50 desktop.log.34
-rw-r--r--  1 root root  17M Sep  2 20:50 desktop.log.35
-rw-r--r--  1 root root  17M Sep  2 20:50 desktop.log.36
-rw-r--r--  1 root root  17M Sep  2 20:50 desktop.log.37
-rw-r--r--  1 root root  17M Sep  2 20:50 desktop.log.38
-rw-r--r--  1 root root  17M Sep  2 20:50 desktop.log.39
-rw-r--r--  1 root root  17M Sep  2 20:50 desktop.log.40
-rw-r--r--  1 root root  17M Sep  2 20:50 desktop.log.41
-rw-r--r--  1 root root  17M Sep  2 20:50 desktop.log.42
-rw-r--r--  1 root root  17M Sep  2 20:50 desktop.log.43
-rw-r--r--  1 root root  17M Sep  2 20:50 desktop.log.44
-rw-r--r--  1 root root  17M Sep  2 20:50 desktop.log.45
-rw-r--r--  1 root root  17M Sep  2 20:50 desktop.log.46
-rw-r--r--  1 root root  17M Sep  2 20:50 desktop.log.47
-rw-r--r--  1 root root  17M Sep  2 20:50 desktop.log.48
-rw-r--r--  1 root root  17M Sep  2 20:50 desktop.log.49

haha@haha-server:/var/log/sunlogin$ sudo rm -rf desktop.log*
haha@haha-server:/var/log/sunlogin$ df -kh .
Filesystem      Size  Used Avail Use% Mounted on
/dev/nvme0n1p5   98G   31G   63G  34% /
haha@haha-server:/var/log/sunlogin$ ls -atlrh
total 336K
-rw-r--r--  1 root root 6.6K Aug 31 09:56 sunlogin_service.log.1
-rw-r--r--  1 root root 5.0K Aug 31 09:58 sunlogin_service.log.2
-rw-r--r--  1 root root  39K Sep  1 11:59 sunlogin_service.log.3
-rw-r--r--  1 root root 6.6K Sep  1 15:52 sunlogin_service.log.4
-rw-r--r--  1 root root 5.1K Sep  1 17:13 sunlogin_service.log.5
-rw-r--r--  1 root root  12K Sep  1 23:24 sunlogin_service.log.6
drwxr-xr-x 20 root root 4.0K Sep  3 00:00 ..
-rw-r--r--  1 root root  84K Sep  5 13:21 sunlogin_service.log.7
-rw-r--r--  1 root root 3.1K Sep  5 13:21 sunlogin_service.log
drwxr-xr-x  2 root root 148K Sep  5 13:27 .
haha@haha-server:/var/log/sunlogin$ ls -atlrh

日志的内容:
2020-09-05 11:51:53.069        * Error *        systemd:symbol_sd_login_monitor_get_fd failed
2020-09-05 11:51:53.069        * Error *        systemd:sd_login_monitor_new error
2020-09-05 11:51:53.069        * Error *        systemd:symbol_sd_login_monitor_get_fd failed
2020-09-05 11:51:53.069        * Error *        systemd:sd_login_monitor_new error
2020-09-05 11:51:53.069        * Error *        systemd:symbol_sd_login_monitor_get_fd failed
2020-09-05 11:51:53.069        * Error *        systemd:sd_login_monitor_new error
2020-09-05 11:51:53.069        * Error *        systemd:symbol_sd_login_monitor_get_fd failed
2020-09-05 11:51:53.069        * Error *        systemd:sd_login_monitor_new error
2020-09-05 11:51:53.069        * Error *        systemd:symbol_sd_login_monitor_get_fd failed
2020-09-05 11:51:53.069        * Error *        systemd:sd_login_monitor_new error
2020-09-05 11:51:53.069        * Error *        systemd:symbol_sd_login_monitor_get_fd failed
2020-09-05 11:51:53.069        * Error *        systemd:sd_login_monitor_new error
2020-09-05 11:51:53.069        * Error *        systemd:symbol_sd_login_monitor_get_fd failed
2020-09-05 11:51:53.069        * Error *        systemd:sd_login_monitor_new error
2020-09-05 11:51:53.069        * Error *        systemd:symbol_sd_login_monitor_get_fd failed
2020-09-05 11:51:53.069        * Error *        systemd:sd_login_monitor_new error
2020-09-05 11:51:53.069        * Error *        systemd:symbol_sd_login_monitor_get_fd failed
2020-09-05 11:51:53.069        * Error *        systemd:sd_login_monitor_new error
2020-09-05 11:51:53.069        * Error *        systemd:symbol_sd_login_monitor_get_fd failed
2020-09-05 11:51:53.069        * Error *        systemd:sd_login_monitor_new error
2020-09-05 11:51:53.069        * Error *        systemd:symbol_sd_login_monitor_get_fd failed

话说向日葵窗口显示就无法开窗口特效的bug,目前在v20上还没解决
mark一下吧


Reply Favorite View the author
All Replies
avatar
28******22@qq.com
deepin
2020-09-05 21:58
#1
靠,向日葵这是停不下来了啊
又开始了

-rw-r--r--  1 root root  17M Sep  5 13:56 desktop.log.427
-rw-r--r--  1 root root  17M Sep  5 13:56 desktop.log.428
-rw-r--r--  1 root root  17M Sep  5 13:56 desktop.log.429
-rw-r--r--  1 root root  17M Sep  5 13:56 desktop.log.430
-rw-r--r--  1 root root  17M Sep  5 13:56 desktop.log.431
-rw-r--r--  1 root root  17M Sep  5 13:56 desktop.log.432
-rw-r--r--  1 root root  17M Sep  5 13:56 desktop.log.433
-rw-r--r--  1 root root  17M Sep  5 13:56 desktop.log.434
-rw-r--r--  1 root root  17M Sep  5 13:56 desktop.log.435
-rw-r--r--  1 root root  17M Sep  5 13:56 desktop.log.436
-rw-r--r--  1 root root  17M Sep  5 13:56 desktop.log.437
-rw-r--r--  1 root root  17M Sep  5 13:56 desktop.log.438
-rw-r--r--  1 root root  17M Sep  5 13:56 desktop.log.439
-rw-r--r--  1 root root  17M Sep  5 13:56 desktop.log.440
-rw-r--r--  1 root root  17M Sep  5 13:56 desktop.log.441
-rw-r--r--  1 root root  17M Sep  5 13:56 desktop.log.442
-rw-r--r--  1 root root  17M Sep  5 13:56 desktop.log.443
-rw-r--r--  1 root root  17M Sep  5 13:56 desktop.log.444
-rw-r--r--  1 root root  17M Sep  5 13:56 desktop.log.445
-rw-r--r--  1 root root  17M Sep  5 13:56 desktop.log.446
drwxr-xr-x  2 root root 148K Sep  5 13:56 .
-rw-r--r--  1 root root 2.0M Sep  5 13:56 desktop.log


重新安装下试试
Reply View the author
avatar
189******23
deepin
2020-09-05 23:38
#2
特效那个可以去kde系统设置里禁止应用关闭特效
Reply View the author
avatar
辉夜
deepin
2020-09-05 23:48
#3
这么大就离谱。系统不应该限制不同日志文件大小吗
Reply View the author
avatar
xuey
deepin
2020-09-06 01:09
#4
这bug太离谱了
Reply View the author
avatar
jin202008x
deepin
2020-09-06 02:09
#5
https://bbs.deepin.org/post/201407
特效那个可以去kde系统设置里禁止应用关闭特效

具体怎么改?
Reply View the author
avatar
189******23
deepin
2020-09-06 02:26
#6





这个地方
Reply View the author
avatar
28******22@qq.com
deepin
2020-09-06 16:59
#7
这个bug的触发条件应该是我给双屏显示设置了‘复制’,但是其实分辨率一个大一个小,那个小分辨率的屏幕不支持分辨率输出
设置为’扩展‘后没这个问题了,log也开始正常

关于那个特效,马向日葵窗口最小化就行了。只有向日葵窗口显示的时候无法开启特效
Reply View the author
avatar
189******23
deepin
2020-09-06 21:46
#8
https://bbs.deepin.org/post/201407
这个bug的触发条件应该是我给双屏显示设置了‘复制’,但是其实分辨率一个大一个小,那个小分辨率的屏幕不 ...

特效看我上面的设置。
我现在什么情况向日葵都不会关特效了
Reply View the author
avatar
28******22@qq.com
deepin
2020-09-09 01:32
#9
更新向日葵最新版就可以解决不停写log的问题了
Reply View the author