文件管理器bug
Tofloor
poster avatar
159******54
deepin
2018-09-17 18:02
Author
文件管理器里面新建文件, 文件夹, 删除, 编辑文件名 文件管理都不刷新的, 得自己手动刷新一下才能看到结果. 上次也遇到过, 之后有段时间好了,我以为修复了,现在又出现了这种情况
Reply Favorite View the author
All Replies
avatar
BLumia
deepin
2018-09-17 18:30
#1
如果你的某个应用(举个例子,vscode)大量的占用 inotify 的话可能导致监听描述符的资源被那个软件耗尽,以至于文管无法监听你所需目录的变更。把 inotify 调大就是了。
Reply View the author
Comments
mjchow
2018-09-17 23:17
嗯嗯,谢谢
avatar
WENWEN
deepin
2018-09-17 18:41
#2
  1. exec follow commands:

  2.          sudo sysctl -a | grep fs.inotify.max_user_watches

  3.          8192


  4. change this var 【fs.inotify.max_user_watches】,exec cmd :


  5.         sudo sysctl -w fs/inotify/max_user_watches=10000

  6. Then restart dde-file-manager
Copy the Code
Reply View the author
Comments
mjchow
2018-09-17 23:15
厉害