반응형
250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- Jenkins
- COALESCE
- Kafka
- codedeploy
- IntelliJ
- codedeploy error
- bootstrap
- JavaScript
- 도커
- kubeflow
- redis
- VPN
- chartjs
- java bigdecimal
- aws
- codepipeline
- chart.js
- SQL
- Python
- codebuild
- Airflow
- Spring
- or some instances in your deployment group are experiencing problems.
- PostgreSQL
- aws cicd
- Flux
- docker
- node
- Spring Error
- AWS CI/CD 구축하기
Archives
- Today
- Total
Small Asteroid Blog
[jupyter lab] kernel restarting - 커널 죽음 본문
728x90
파일을 실행시키는데 커널이 죽는 문제가 발생했다.
커널이 죽는 이유는 메모리 할당량을 초과했기 때문이다.
해결방법으론
1. config 파일 내의 비트수 할당을 늘리는 방법
2. 메모리를 잡아먹는 코드를 찾아 수정하는 방법
두 가지 방법을 해보는 것을 추천한다.
1.
다음 명령어로 config 파일 생성하기
jupyter lab --generate-config
jupyter notebook --generate-config
/root/.jupyter 경로에서 jupyter_lab_config.py jupyter_notebook_config.py 파일을 찾아 수정한다.
nano jupyter_lab_config.py
nano jupyter_notebook_config.py
nano 편집기로 들어간 경우 crtl+w 단축키로 다음 내용을 찾기 가능하다.
기존값 보다 많은 비트수를 할당해 준다.
위의 내용을 수정했다면 config파일이 적용될 수 있도록 jupyter 를 다시 실행시켜 준다.
jupyter lab
jupyter notebook
다음 명령어로 실시간 메모리 사용량을 확인해 볼 수 있다.
free -mh
728x90
반응형