티스토리 뷰
swap memory를 조절하여 봅시다.
1. 파일 확인
$ free -m
$ swapon -s
2. swap file 생성
$ fallocate -l 4GB /swapfile
or
$ dd if=/dev/zero of=/swapfile count=4096 bs=1MiB
3. 권한 부여 및 등록
$ chmod 600 /swapfile
$ mkswap /swapfile
4. 비활성화 및 삭제
$ swapoff swapfile
$ rm /swapfile
'Backend > Server' 카테고리의 다른 글
| CentOS 고정 IP 설정 (0) | 2020.03.27 |
|---|---|
| CentOS 설치후에 몇가지 보안 조치 (0) | 2020.03.16 |
| Change language for CentOS. CentOS 언어 설정 변경하기 (0) | 2020.03.15 |
| CentOS 8 + nginx 1.17.8 + php 7.4.3 (0) | 2020.02.22 |
| CentOS8. MariaDB 설치하기 (0) | 2020.01.19 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- golang
- Windows
- MySQL
- Gradle
- Spring
- cocoapods
- android
- intellij
- Xcode
- ubuntu
- war
- enum
- Java
- rxswift
- windows10
- nodejs
- docker
- CentOS
- Python
- github
- Kotlin
- php
- SWIFT
- tomcat
- go
- git
- ios
- centos8
- Codable
- Linux
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
글 보관함