码迷,mamicode.com
首页 > 其他好文 > 详细

elastic search 重要的系统配置

时间:2018-08-07 18:57:41      阅读:144      评论:0      收藏:0      [点我收藏+]

标签:文件   虚拟内存   RoCE   this   tty   guid   span   线程   rman   

文章翻译自 https://www.elastic.co/guide/en/elasticsearch/reference/current/file-descriptors.html

1.文件描述符

curl -X GET "10.22.60.174:1200/_nodes/stats/process?filter_path=**.max_file_descriptors&pretty"

2.关闭交换分区

交换分区会造成垃圾收集持续数分钟

linux系统 :

sudo swapoff -a

es配置 config/elasticsearch.yml

bootstrap.memory_lock: true

3.线程数

es使用了很多线程来进行不同的操作,要确保es能够按需创建线程

ulimit -u 4096

4.虚拟内存限制

es使用虚拟内存来缓存索引

To set this value permanently, update the vm.max_map_count setting in /etc/sysctl.conf. To verify after rebooting, run sysctl vm.max_map_count.

elastic search 重要的系统配置

标签:文件   虚拟内存   RoCE   this   tty   guid   span   线程   rman   

原文地址:https://www.cnblogs.com/zhengwenqiang/p/9438556.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!