问题
ENOSPC: System limit for number of file watchers reached. How to solved this?
回答1:
Run the below command to avoid ENOSPC:
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
For Arch Linux add this line to /etc/sysctl.d/99-sysctl.conf:
fs.inotify.max_user_watches=524288
Then execute:
sysctl --system
来源:https://stackoverflow.com/questions/56698613/enospc-system-limit-for-number-of-file-watchers-reached-how-to-solved-it