max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
只添加最后vm值即可,sysctl -p /etc/sysctl.conf
- net.ipv4.conf.all.accept_redirects=0
- net.ipv4.tcp_tw_reuse=1
- net.ipv4.tcp_tw_recycle=1
- net.ipv4.tcp_fin_timeout=5
- net.ipv4.tcp_keepalive_time=60
- net.ipv4.ip_local_port_range=21000 61000
- fs.file-max=6553500
- kernel.sem=250 32000 100 128
- vm.max_map_count = 262144
-
- # sudo sysctl -p /etc/sysctl.conf
- net.ipv4.conf.all.accept_redirects = 0
- net.ipv4.tcp_tw_reuse = 1
- sysctl: cannot stat /proc/sys/net/ipv4/tcp_tw_recycle: No such file or directory
- net.ipv4.tcp_fin_timeout = 5
- net.ipv4.tcp_keepalive_time = 60
- net.ipv4.ip_local_port_range = 21000 61000
- fs.file-max = 6553500
- kernel.sem = 250 32000 100 128
- vm.max_map_count = 262144
memory locking requested for elasticsearch process but memory is not locked
- * soft nofile 60000
- * hard nofile 65536
- * soft nproc 65536
- * hard nproc 65536
- * soft memlock unlimited
- * hard memlock unlimited