docs: update 常见问题

This commit is contained in:
逗猫
2023-06-28 05:12:01 +00:00
committed by jxxghp
parent 4324797139
commit 51e23653d1

View File

@@ -2,7 +2,7 @@
title: 常见问题
description:
published: 1
date: 2023-05-12T15:06:51.751Z
date: 2023-06-28T05:11:48.294Z
tags:
editor: markdown
dateCreated: 2023-05-12T04:26:30.172Z
@@ -36,8 +36,8 @@ dateCreated: 2023-05-12T04:26:30.172Z
- 启动日志报与`inotify`相关的错误时在宿主机上不是docker容器里执行以下命令并重启宿主机
```shell
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf
echo fs.inotify.max_user_instances=524288 | sudo tee -a /etc/sysctl.conf
echo fs.inotify.max_user_watches=5242880 | sudo tee -a /etc/sysctl.conf
echo fs.inotify.max_user_instances=5242880 | sudo tee -a /etc/sysctl.conf
sudo sysctl -p
```
- 挂载`网盘``Windows向Linux的SMB共享``NFS共享`等不支持事件触发的目录实时监控,可改为使用`下载器监控`,或者打开目录同步的`兼容模式`(兼容模式下性能较低,可能会频繁读取磁盘)。