tmpfs /run/user/???


OS : CentOS 7.x

실제 메모리의 10%(기본값)가 사용자 tmpfs 으로 잡혀 있다.

>$ df -h | grep tmpfs
tmpfs           794M     0  794M   0% /run/user/501

문제는 없지만 사용하지도 않고 보기 싫으니 용량을 줄여보자.

>$ /etc/systemd/logind.conf
#RuntimeDirectorySize=10%
RuntimeDirectorySize=32M

아래 명령어를 시작 하였지만 적용이 되지 않았다.

>$ systemctl daemon-reexec
>$ systemctl daemon-reload

할수 없이 리부팅 해본다. 적용 되었다.

>$ df -h | grep tmpfs
tmpfs            32M     0   32M   0% /run/user/501

참고 : https://www.freedesktop.org/software/systemd/man/logind.conf.html

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다