...
리눅스 파일 최대 개수를 아래 명령어로 확인한다.
Code Block language bash [machbase@localhost ~] ulimit -Sn 1024
결과값이 65535보다 작다면, 아래 파일을 limit.conf 와 user.conf 를 아래와 같이 수정하고 서버를 리부팅한다재시작 한다.
Code Block language bash [machbase@localhost ~] sudo vi /etc/security/limits.conf #<domain> <type> <item> <value> # * hard nofile 65535 * soft nofile 65535 [machbase@localhost ~] sudo vi /etc/systemd/user.conf DefaultLimitNOFILE=65535
서버를 리부팅하고 재시작하고 다시 값을 확인한다.
Code Block language bash [machbase@localhost ~] ulimit -Sn 65535
...