[Bug Report] 使用 Codex时会导致系统搜索服务 CPU 占用过高
Tofloor
poster avatar
Wuhd
deepin
7 hours ago
Author

image.png

Reply Favorite View the author
All Replies
avatar
wangr1069
deepin
7 hours ago
#1

可以看看 deepin-anything-daemon 在忙什么, 会不会是使用 codex 时系统中有大量的文件操作

# 开启调试日志
dde-dconfig --set -a org.deepin.anything -r org.deepin.anything -k log_level -v debug

# 查看新增日志
journalctl --user-unit deepin-anything-daemon.service -f

# 关闭调试日志
dde-dconfig --set -a org.deepin.anything -r org.deepin.anything -k log_level -v info
Reply View the author
avatar
Wuhd
deepin
5 hours ago
#2
wangr1069

可以看看 deepin-anything-daemon 在忙什么, 会不会是使用 codex 时系统中有大量的文件操作

# 开启调试日志
dde-dconfig --set -a org.deepin.anything -r org.deepin.anything -k log_level -v debug

# 查看新增日志
journalctl --user-unit deepin-anything-daemon.service -f

# 关闭调试日志
dde-dconfig --set -a org.deepin.anything -r org.deepin.anything -k log_level -v info

建议把常见的agent读写目录排除索引。

Reply View the author
avatar
wangr1069
deepin
4 hours ago
#3
Wuhd

建议把常见的agent读写目录排除索引。

我本地使用 codex 测试过, 没有发现运行过程中 CPU 高占比的情况, 不好确定是不是 agent 读写导致的, 所以最好还是看看日志.

另外有时重建索引也会出现一段时间的 CPU 高占比的情形.

Reply View the author