반응형
gzip: stdout: No space left on device
https://askubuntu.com/questions/223248/gzip-stdout-no-space-left-on-device-while-upgrading-the-kernel
https://ubuntuforums.org/showthread.php?t=2362183
- 먼저 disk용 가용공간 확인
- df -h: disk free 줄임말, -h는 human readable, 사람이 보기편한 MB,GB 단위로 출력해줌
- 다운로드된 커널 이미지 목록 확인
- dpkg -l | grep linux-image: debian package manager? .deb 패키지의 설치, 삭제, 정보 확인등을 위해 사용되는 명령어
- 현재 사용되는 커널이미지 확인
- uname -r: find your currently running kernel (uname=UNIX name)
- 현재 사용되는 것 외에 불필요한 것을 삭제 -> 다시 df 확인하니 가용공간 늘어나고 문제해결됨
Visual Studio Code에서 bootstrap table - yarn start 잘 되다가 다음날 이런 에러 발생...
Error: ENOSPC: System limit for number of file watchers reached, watch '/home/ibs/react/bootstap-table/public'
at FSWatcher.start (internal/fs/watchers.js:165:26)
at Object.watch (fs.js:1274:11)
.....이하 에러메세지 생략
해결책) https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers#the-technical-details
inotify watcher increase해야함
- get your current inotify file watch limit) cat /proc/sys/fs/inotify/max_user_watches -> 8192 였음
- max value 524388로 increase) echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
- 다시 cat /proc/sys/fs/inotify/max_user_watches 하니 524388로 늘어남
visual studio code linux 문서에서 관련사항 설명되어 있음 https://code.visualstudio.com/docs/setup/linux
반응형
'etc > linux' 카테고리의 다른 글
linux java process 찾기, java 실행 (0) | 2020.01.31 |
---|---|
리눅스 PC에 백업 (0) | 2019.07.26 |
Ubuntu 단축키 (0) | 2019.04.26 |
시스템 관련 (0) | 2019.04.23 |
Linux 명령어 (0) | 2019.03.29 |