startdde 常常让 CPU 飙到 100%
Tofloor
poster avatar
la******ng@outlook.com
deepin
2018-04-02 16:19
Author
本帖最后由 s9209122222 于 2018-4-2 08:25 编辑

OS: Antergos(基于 Arch)
希望 Deepin 能够解决!感谢

  1. Name            : startdde
  2. Version         : 3.1.26-1
  3. Description     : starter of deepin desktop environment
  4. Architecture    : x86_64
  5. URL             : https://github.com/linuxdeepin/startdde
  6. Licenses        : GPL3
  7. Groups          : deepin
  8. Provides        : None
  9. Depends On      : deepin-daemon  deepin-wm-switcher  libgnome-keyring
  10. Optional Deps   : None
  11. Required By     : deepin-control-center  deepin-launcher  deepin-session-ui
  12. Optional For    : None
  13. Conflicts With  : None
  14. Replaces        : None
  15. Installed Size  : 8.91 MiB
  16. Packager        : Felix Yan
  17. Build Date      : Tue Mar 20 14:52:47 2018
  18. Install Date    : Tue Mar 20 18:30:28 2018
  19. Install Reason  : Explicitly installed
  20. Install Script  : No
  21. Validated By    : Signature
Copy the Code

Reply Favorite View the author
All Replies
avatar
yanbowen
deepin
Community Developer
2018-04-02 16:57
#1
添加 export DDE_DEBUG_LEVEL="debug" 到 /etc/profile 中,然后安装 perf 然后重启
出现问题后执行 sudo perf record -p 等待 10s 然后终止,然后执行 journalctl /usr/bin/startdde > /tmp/dde.log
最后把 perf.data 和 /tmp/dde.log 上传一下
Reply View the author
avatar
la******ng@outlook.com
deepin
2018-04-02 17:30
#2
https://bbs.deepin.org/post/154876
添加 export DDE_DEBUG_LEVEL="debug" 到 /etc/profile 中,然后安装 perf 然后重启
出现问题后执行 sudo p ...

好的,等下次出现问题再提交
perf.data 的路径是哪边呢?
Reply View the author
avatar
yanbowen
deepin
Community Developer
2018-04-02 17:39
#3
https://bbs.deepin.org/post/154876
好的,等下次出现问题再提交
perf.data 的路径是哪边呢?

当前路径下
Reply View the author
avatar
la******ng@outlook.com
deepin
2018-04-06 17:37
#4

终于被我给遇到了,给你啰!


Reply View the author
avatar
wangqizai1918
deepin
2018-04-06 18:17
#5
manjaro这边还有dde-dock 4.6.2-1也会出类似问题
Reply View the author
avatar
la******ng@outlook.com
deepin
2018-04-06 21:14
#6
https://bbs.deepin.org/post/154876
manjaro这边还有dde-dock 4.6.2-1也会出类似问题

你有没有 deepin terminal 字体变得很丑的问题呢?
Reply View the author
Comments
jswolf
2018-04-07 17:30
因为noto-mono 字体不见了
avatar
wangqizai1918
deepin
2018-04-07 02:40
#7
https://bbs.deepin.org/post/154876
你有没有 deepin terminal 字体变得很丑的问题呢?

没有啊      
Reply View the author
avatar
159******53
deepin
2018-04-07 02:58
#8
deepin 自己的系统也会发生 一个cpu核心占用很高的  我都时直接重启
Reply View the author
avatar
arlly
deepin
2018-04-07 22:07
#9
此贴都是看屁股了
Reply View the author
avatar
s***7@gmail.com
deepin
2018-04-08 08:53
#10
我也偶尔这样,不过一般发生在刚登录时,所以我一般换个tty,kill掉那个进程,再切回去重新登录就好啦
Reply View the author
Comments
w113124
2018-04-08 16:53
我也是换 tty kill,我这电脑通常不关机重启,都是睡眠,一开一个月以上
avatar
yanbowen
deepin
Community Developer
2018-04-08 20:00
#11
https://bbs.deepin.org/post/154876
终于被我给遇到了,给你啰!

里面的信息不够,麻烦安装下这个文件:
https://pan.baidu.com/s/1BnR7QIPKSD8a4skZxbe_Mw
解压后复制到 /usr/bin/startdde

然后参照  https://golang.org/pkg/net/http/pprof/ 给出 cpu 和 memory 的状态信息(pprof文件)
port is 6060
Reply View the author