Inotify+Rsync 报错
程序员文章站
2024-03-14 09:18:00
...
Inotify+Rsync进行触法同步一个图片目录时候,日志中报错:
Failed to watch /home/www/ecstore/public;
upper limit on inotify watches reached!
Please increase the amount of inotify watches allowed per user via `/proc/sys/fs/inotify/max_user_watches’.
cat一下这个文件,默认值是8192,
或者
在inotify 的时候经常遇到 建议写入sysctl.conf
Failed to watch /home/www/ecstore/public;
upper limit on inotify watches reached!
Please increase the amount of inotify watches allowed per user via `/proc/sys/fs/inotify/max_user_watches’.
cat一下这个文件,默认值是8192,
echo 8192000 > /proc/sys/fs/inotify/max_user_watches
即可或者
在inotify 的时候经常遇到 建议写入sysctl.conf
fs.inotify.max_user_watches=8192000
上一篇: http gzip 解压缩
下一篇: GZIP压缩解压类
推荐阅读
-
slim.dataset_data_provider.DatasetDataProvider当指定num_epochs为1时报错:OutOfRangeError: FIFOQueue '_2_par
-
【Unity / Gradle】 Unity 5.6.x Gradle build APK 报错 Connection refused 解决方法
-
VirtualBox报错Unable to load R3 module GetLastError=1790 (VERR_UNRESOLVED_ERROR 博客分类: tools
-
vue路由报错Navigating to current location ("/login") is not allowed踩坑总结
-
【程序报错】Caused by: java.sql.SQLException: Incorrect string value: '\xE9\x99\x90\xE6\x97\xB6...'
-
php 安装 yii 报错: phpunit/phpunit 4.8.32 requires ext-dom *
-
报错:It‘s possible that the above module doesn‘t match the current version of Python, which is: 2.7.5
-
升级mac系统后的git报错问题
-
ocp集群部署daemonset的node-exporter报错:Host network is not allowed to be used provider restricted
-
Pytorch报错IndexError: invalid index of a 0-dim tensor. Use tensor.item() to convert a 0-dim tensor to