📌  相关文章
📜  错误:ENOSPC:达到文件观察者数量的系统限制,观察反应 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:02.144000             🧑  作者: Mango

代码示例3
# insert the new value into the system config
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

# check that the new value was applied
cat /proc/sys/fs/inotify/max_user_watches

# config variable name (not runnable)
fs.inotify.max_user_watches=524288