文管内容变化无法自动刷新
Tofloor
poster avatar
187******09
deepin
2017-10-31 07:40
Author
rt,增删改(改名)个文件,如果当时内存已经使用稍微多点了(比如40%),改动的内容就不会自动刷新,要手动F5。极少数情况下,内存占用很低的时候也会这样
Reply Favorite View the author
All Replies
avatar
jingle
deepin
2017-10-31 16:57
#1
Reply View the author
avatar
187******09
deepin
2017-10-31 18:02
#2
https://bbs.deepin.org/post/147485
https://bbs.deepin.org/post/145787 9楼

ok                  
Reply View the author
avatar
zhaozhendong
deepin
2017-10-31 18:05
#3
多次出现了,重启一下就好,
deepin修复大法,--------重启系统
Reply View the author
avatar
187******09
deepin
2017-10-31 19:50
#4
https://bbs.deepin.org/post/147485
多次出现了,重启一下就好,
deepin修复大法,--------重启系统

我按照jingle给的修好了
Reply View the author
avatar
187******09
deepin
2017-10-31 23:35
#5
https://bbs.deepin.org/post/147485
https://bbs.deepin.org/post/145787 9楼

额,修改文件名是可以实时刷新了,但是增删文件还是要按F5
Reply View the author
avatar
jingle
deepin
2017-11-01 00:24
#6
https://bbs.deepin.org/post/147485
额,修改文件名是可以实时刷新了,但是增删文件还是要按F5

我新增 删除  修改 都可以的
Reply View the author
avatar
187******09
deepin
2017-11-01 01:16
#7
https://bbs.deepin.org/post/147485
我新增 删除  修改 都可以的

.偶尔的情况还是要f5
Reply View the author
avatar
187******09
deepin
2017-11-08 17:02
#8
https://bbs.deepin.org/post/147485
我新增 删除  修改 都可以的

按照你给的链接#9这次开机好了,下次开机又变回8192了怎么办啊
Reply View the author
avatar
jingle
deepin
2017-11-08 17:18
#9
https://bbs.deepin.org/post/147485
按照你给的链接#9这次开机好了,下次开机又变回8192了怎么办啊

估计被还原了  而且这个参数是监控最大数  在优化
Reply View the author
avatar
187******09
deepin
2017-11-08 17:57
#10
https://bbs.deepin.org/post/147485
估计被还原了  而且这个参数是监控最大数  在优化

最大可以设置成多好。10000可以,15000反而又不行了
Reply View the author
avatar
sz******iy@vip.qq.com
deepin
2017-11-08 18:25
#11
默认的8192就是小!改成10000也才多那么一丢丢好吧。

我在用坚果云和IDEA都碰到过inotify太小。

一个是让改32768,一个是524288,那看起来就是2的次幂了呗。

坚果云转过去的地址:http://help.jianguoyun.com/?p=3070

IDEA给的地址:https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
Reply View the author
avatar
187******09
deepin
2017-11-08 20:49
#12
https://bbs.deepin.org/post/147485
默认的8192就是小!改成10000也才多那么一丢丢好吧。

我在用坚果云和IDEA都碰到过inotify太小。

现在的问题是下次开机就变回了8192
Reply View the author
avatar
sz******iy@vip.qq.com
deepin
2017-11-08 23:23
#13
https://bbs.deepin.org/post/147485
现在的问题是下次开机就变回了8192
  1. echo "fs.inotify.max_user_watches=32768" | sudo tee -a /etc/sysctl.conf

  2. sudo sysctl -p /etc/sysctl.conf
Copy the Code
Reply View the author
avatar
187******09
deepin
2017-11-10 16:08
#14
Reply View the author