mirror of
https://github.com/NAStool/nas-tools-wiki.git
synced 2026-02-02 18:19:36 +08:00
docs: update 常见问题
This commit is contained in:
6
常见问题.md
6
常见问题.md
@@ -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共享`等不支持事件触发的目录实时监控,可改为使用`下载器监控`,或者打开目录同步的`兼容模式`(兼容模式下性能较低,可能会频繁读取磁盘)。
|
||||
|
||||
Reference in New Issue
Block a user