sudo swapoff -a
sudo vi /etc/fstab
swap 관련 내용 삭제해야함
sudo su
ulimit -n 65535
su 계정
sudo vi /etc/security/limits.conf 로 밑에 내용 추가
* hard stack 10240
* soft stack 10240
* hard nofile 65536
* soft nofile 65536
* hard nproc 65536
* soft nproc 65536
* hard memlock unlimited
* soft memlock unlimited
sysctl -w vm.max_map_count=524288
sudo vi /etc/sysctl.conf 로 밑에 내용 추가
https://www.elastic.co/guide/en/elasticsearch/reference/current/system-config.html