본문 바로가기
BackEnd FrontEnd/Angular

angular 개발시 yarn start 후 limit error 확인하기

by forkballpitch 2019. 1. 2.
728x90
728x90
The current default on Xenial is 8192 (see fs/notify/inotify/inotify_user.c in the kernel source), you can verify this by printing the file to stdout:
cat /proc/sys/fs/inotify/max_user_watches
8192

You can bump the number up, for example, doubling this to 16384, using:

echo 16384 | sudo tee /proc/sys/fs/inotify/max_user_watches

bear in mind that inotify watches do consume memory, I think it's around 160 bytes per watch on 64 bit systems.

To set this permanently, add an entry to /etc/sysctl.conf, for example:

echo fs.inotify.max_user_watches=16384 | sudo tee -a /etc/sysctl.conf
sudo sysctl -p

..or manually edit /etc/sysctl.conf (you need root privileges to update it) and then run sudo sysctl -p


728x90
728x90

'BackEnd FrontEnd > Angular' 카테고리의 다른 글

angular 프로젝트 yarn 개발 환경 세팅  (0) 2019.12.15
angular6용 summernote  (0) 2019.02.20
앵귤러 리밋나올때 참고한 깃헙  (0) 2018.12.28