摘要: 查看当前Linux系统中vm.max_map_count变量的值,命令如下: sysctl vm.max_map_count 执行结果的样例,如下: vm.max_map_count = 65530 修改参数vm.max_map_count的值,命令如下 sysctl -w vm.max_map_c 阅读全文
posted @ 2023-11-24 23:58 jackieathome 阅读(85) 评论(0) 推荐(0)
摘要: 操作系统将进程加载至内存中执行时,对于当前未使用到的内存页,可能会将相关内存页交换至硬盘上,即swap。 对于性能敏感、时延敏感的应用程序比如ElasticSearch,swap特性会明显影响性能和稳定性,因此最好禁用swap特性。 对于Linux环境,目前有如下手段可以禁用swap特性。 临时关闭 阅读全文
posted @ 2023-11-24 23:32 jackieathome 阅读(170) 评论(0) 推荐(0)
摘要: 命令样例如下: curl -X GET "https://localhost:9200/_cat/ml/data_frame/analytics?v=true&pretty" --cacert $ES_HOME/config/certs/http_ca.crt -u "elastic:ohCxPH= 阅读全文
posted @ 2023-11-24 01:04 jackieathome 阅读(39) 评论(0) 推荐(0)