报错1:

[1]: max file descriptors [65535] for elasticsearch process is too low, increase to at least [65536]

  

解决:

sudo vi /etc/security/limits.conf

添加如下内容:

* soft nofile 65536 #【修改该项即可】

* hard nofile 131072

* soft nproc 2048

* hard nproc 4096

需要系统重启。

 

 

报错2

[2]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

  

解决:

sudo vi /etc/sysctl.conf

添加下面配置:

vm.max_map_count=655360 【修该项即可】

并执行命令:

sysctl -p

  

相关文章:

  • 2021-07-30
  • 2021-12-28
  • 2021-11-19
  • 2021-08-10
  • 2021-09-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-02-08
  • 2021-08-30
  • 2021-10-08
  • 2021-06-23
  • 2022-12-23
  • 2021-11-24
  • 2021-04-06
相关资源
相似解决方案