운영체제/Unix & Linux
[Solaris] /tmp 파일시스템 크기 조정
날았다 고양이
2024. 2. 23. 00:22
반응형
1. 동적 조정
mount -F tmpfs -o remount,size=1024m swap /tmp
2. /etc/vfstab(영구설정)
default)
#swap - /tmp tmpfs - yes -
수정
swap - /tmp tmpfs - yes size=1024m
- #(주석)제거
- 옵션 필드에 size=XXXm 크기 지정(메가단위로 지정)
참조
https://docs.oracle.com/cd/E36784_01/html/E36837/tmpfs-limit-1.html
How to Limit the Size of the tmpfs File System - Oracle® Solaris 11 Security Guidelines
How to Limit the Size of the tmpfs File System The size of the tmpfs file system is not limited by default. Therefore, tmpfs can grow to fill the available system memory and swap. Because the /tmp directory is used by all applications and users, an applica
docs.oracle.com
반응형