GCP 무료 버전 메모리 600으로 mysql을 실행시키려니 메모리 풀이 부족하다고 한다.
인터넷에 찾아보니 보통 1gb 이상을 권장한다.
디스크를 메모리로 사용하는 꼼수를 쓰기로 했다.
-..- 어차피 디스크 스왑하면 스왑 비용이..
dd if=/dev/zero of=/swapfile bs=1M count=1024
mkswap /swapfile
swapon /swapfile
그냥 메모리를 늘리는 방법을 추천하긴 합니다.
Amazon EC2, mysql aborting start because InnoDB: mmap (x bytes) failed; errno 12
I have set up a micro instance server on EC2 based on what I read here mysql server fails frequently and for the third time mysql server is gone. The logs only shows 120423 09:13:38 mysqld_safe ...
stackoverflow.com
리눅스 스왑공간 추가하기 실습 - 제타위키
다음 문자열 포함...
zetawiki.com
'Linux' 카테고리의 다른 글
CentOS7 무선랜 (0) | 2020.05.07 |
---|---|
Google Cloud Platform으로 Centos7에 mysql8 설치 (0) | 2019.10.08 |
mysql version 8 설치 (0) | 2019.10.07 |
Google Cloud (0) | 2019.08.11 |
Windows10 VMware Device/Credentia 오류 (0) | 2019.08.04 |