반응형
다수의 파일을 오픈 할때 해제 시키는 명령어 이다.
#!/bin/bash
echo '계정명 hard nofile 65535' >> /etc/security/limits.conf
echo '계정명 soft nofile 65535' >> /etc/security/limits.conf
echo '계정명 hard nproc 65535' >> /etc/security/limits.conf
echo '계정명 soft nproc 65535' >> /etc/security/limits.conf
ulimit -a | grep "open files"
반응형
'Linux_etc' 카테고리의 다른 글
Centos 7.x 파일중에 문구 들어가 있는 행 삭제 및 변경 (sed) (0) | 2022.03.31 |
---|---|
Centos 7.x Network 모니터링 (0) | 2022.03.24 |
NTP Server - Client(폐쇄망) 동기화 - script (0) | 2022.03.08 |
Centos 7.8 -kernel update 3.10.x -> 5.16.10 삽질 -2부 (0) | 2022.02.28 |
리눅스 top 대신 htop ? (0) | 2022.02.24 |